summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormpickering <matthewtpickering@gmail.com>2014-09-25 18:30:47 +0100
committermpickering <matthewtpickering@gmail.com>2014-09-25 18:32:50 +0100
commit85cff719f667b25131a3e150a5f438fd5be72475 (patch)
tree0ac984882687ecd28c0c70ba51ff3116843c5ed7 /README
parent515a120d0425318d6c8b95c4d8f8d0b1a48193d2 (diff)
Updated README to include information about KaTeX switches
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 12 insertions, 1 deletions
diff --git a/README b/README
index 93fbde8ab..9baa9060a 100644
--- a/README
+++ b/README
@@ -710,6 +710,16 @@ Math rendering in HTML
formulas to images. The formula will be concatenated with the URL
provided. If *URL* is not specified, the Google Chart API will be used.
+`--katex`[=*URL*]
+: Use [KaTeX] to display embedded TeX math in HTML output.
+ The *URL* should point to the `katex.js` load script. If a *URL* is
+ not provided, a link to the KaTeX CDN will be inserted.
+
+`--katex-stylesheet=*URL*`
+: The *URL* should point to the `katex.css` stylesheet. If this option is
+ not specified, a link to the KaTeX CDN will be inserted. Note that this
+ option does not imply `--katex`.
+
Options for wrapper scripts
---------------------------
@@ -1652,7 +1662,7 @@ proportionally spaced fonts, as it does not require lining up columns.
#### Extension: `table_captions` ####
-A caption may optionally be provided with all 4 kinds of tables (as
+A caption may optionally be provided with all 4 kinds of tables (as
illustrated in the examples below). A caption is a paragraph beginning
with the string `Table:` (or just `:`), which will be stripped off.
It may appear either before or after the table.
@@ -3177,3 +3187,4 @@ Rosenthal.
[txt2tags]: http://txt2tags.org/
[EPUB]: http://idpf.org/epub
[EPUBspine]: http://www.idpf.org/epub/301/spec/epub-publications.html#sec-spine-elem
+[KaTeX]: https://github.com/Khan/KaTeX