mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 21:48:41 +00:00
Small tweaks to documentation (#1527)
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
id: browser
|
||||
title: Browser
|
||||
---
|
||||
> KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, Edge, and IE 9 - IE 11.
|
||||
> KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, Edge, and IE 9–11.
|
||||
|
||||
## CDN(Content Delivery Network)
|
||||
## CDN (Content Delivery Network)
|
||||
Use CDN to deliver KaTeX to your project:
|
||||
|
||||
```html
|
||||
@@ -20,15 +20,16 @@ KaTeX also provides minified versions:
|
||||
```
|
||||
|
||||
## Download & Host Things Yourself
|
||||
Download the latest version from [here](https://github.com/Khan/KaTeX/releases),
|
||||
copy `katex.js`, `katex.css`(or `katex.min.js` and `katex.min.css` to use minified
|
||||
versions) and `fonts` from `/katex`, and include like above.
|
||||
Download a [KaTeX release](https://github.com/Khan/KaTeX/releases),
|
||||
copy `katex.js`, `katex.css`
|
||||
(or `katex.min.js` and `katex.min.css` to use minified versions),
|
||||
and the `fonts` directory, and include like above.
|
||||
|
||||
You can also build from source. See [Building from Source](node.md#building-from-source)
|
||||
for more details.
|
||||
|
||||
## Bundler
|
||||
Use [`Node.js` package managers](node.md) to install KaTeX and require it in your
|
||||
Use [Node.js package managers](node.md) to install KaTeX and require it in your
|
||||
project. Then bundle using bundlers like [webpack](https://webpack.js.org/) or
|
||||
[rollup.js](https://rollupjs.org/). Note that you have to bundle the stylesheet(`katex.css`)
|
||||
or include it manually.
|
||||
[rollup.js](https://rollupjs.org/). Note that you have to bundle the stylesheet
|
||||
(`katex.css`) or include it manually.
|
||||
|
Reference in New Issue
Block a user