git.iko.soy/typeable/pandoc
on master help sign in
Added note in README about how you might want to link to
7f5a554fiddlosopher
README+12−2
@@ -743,8 +743,9 @@ closing $ must have a character immediately to its left. Thus,
743escaped with a backslash if needed.
743escaped with a backslash if needed.
744
744
745If you pass the `-m` (`--asciimathml`) option to `pandoc`, it will
745If you pass the `-m` (`--asciimathml`) option to `pandoc`, it will
746−include the [ASCIIMathML] script in the resulting HTML. This will
746+embed the [ASCIIMathML] script in the resulting HTML. This will
747−cause LaTeX math to be displayed as formulas in better browsers.
747+cause LaTeX math to be displayed as formulas in better
748+browsers.[^3]
748
749
749[ASCIIMathML]: http://www1.chapman.edu/~jipsen/asciimath.html
750[ASCIIMathML]: http://www1.chapman.edu/~jipsen/asciimath.html
750
751
@@ -766,6 +767,15 @@ You can also use LaTeX environments. For example,
766Note, however, that material between the begin and end tags will
767Note, however, that material between the begin and end tags will
767be interpreted as raw LaTeX, not as markdown.
768be interpreted as raw LaTeX, not as markdown.
768
769
770+[^3]: If you are serving several pages that use ASCIIMathML, it will be
771+ more efficient to link to an external copy of `ASCIIMathML.js`
772+ instead of using the `-m|--asciimathml` option to embed it directly
773+ in web pages. To do this, get a copy of `ASCIIMathML.js` from the
774+ [ASCIIMathML] website and make it available on your webserver. Then
775+ create a custom header for your web page that includes the line
776+
777+ <script src=/path/to/ASCIIMathML.js></script>
778+
769Custom headers
779Custom headers
770==============
780==============
771
781