mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +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.
|
||||
(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>`,
|
||||
you can use the following script there
|
||||
|
@@ -1,4 +1,8 @@
|
||||
<!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>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
Reference in New Issue
Block a user