www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2ab14ea224bc9e7818e69c893e8086b46877f670
parent a9d5a8782f7100b78f22420250f8353102221dd5
Author: Ben Alpert <alpert@khanacademy.org>
Date:   Sun, 19 Oct 2014 16:17:11 -0700

Point to CDNJS in README

Test Plan: http://jsbin.com/mirumuyeku/edit?html,js,output

Auditors: emily

Diffstat:
MREADME.md | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -11,11 +11,11 @@ KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, and ## Usage -Download the built files from [the releases page](https://github.com/khan/katex/releases). Include the `katex.min.js` and `katex.min.css` files on your page: +You can [download KaTeX](https://github.com/khan/katex/releases) and host it on your server or include the `katex.min.js` and `katex.min.css` files on your page directly from a CDN: ```html -<link rel="stylesheet" href="/path/to/katex.min.css"> -<script src="/path/to/katex.min.js"></script> +<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.1/katex.min.css"> +<script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.1.1/katex.min.js"></script> ``` Call `katex.render` with a TeX expression and a DOM element to render into: