mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 12:18:39 +00:00
Add documentation for how to run auto-render example (#740)
This commit is contained in:
committed by
Kevin Barabash
parent
29fc2d56d4
commit
a36709d239
@@ -26,6 +26,10 @@ before the close body tag:
|
|||||||
```
|
```
|
||||||
|
|
||||||
See [index.html](index.html) for an example.
|
See [index.html](index.html) for an example.
|
||||||
|
(To run this example from a clone of the repository, run `make serve`
|
||||||
|
in the root KaTeX directory, and then visit
|
||||||
|
http://0.0.0.0:7936/contrib/auto-render/index.html
|
||||||
|
with your web browser.)
|
||||||
|
|
||||||
If you prefer to have all your setup inside the html `<head>`,
|
If you prefer to have all your setup inside the html `<head>`,
|
||||||
you can use the following script there
|
you can use the following script there
|
||||||
|
@@ -1,4 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<!--To run this example from a clone of the repository, run `make serve`
|
||||||
|
in the root KaTeX directory and then visit with your web browser:
|
||||||
|
http://0.0.0.0:7936/contrib/auto-render/index.html
|
||||||
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
Reference in New Issue
Block a user