mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
README: Properly escape $ characters.
Otherwise they mess up the LaTeX benchmark, which uses a version of README converted to LaTeX.
This commit is contained in:
@@ -1813,11 +1813,11 @@ HTML, Slidy, DZSlides, S5, EPUB
|
||||
styled differently from the surrounding text if needed.
|
||||
|
||||
2. If the `--latexmathml` option is used, TeX math will be displayed
|
||||
between $ or $$ characters and put in `<span>` tags with class `LaTeX`.
|
||||
between `$` or `$$` characters and put in `<span>` tags with class `LaTeX`.
|
||||
The [LaTeXMathML] script will be used to render it as formulas.
|
||||
(This trick does not work in all browsers, but it works in Firefox.
|
||||
In browsers that do not support LaTeXMathML, TeX math will appear
|
||||
verbatim between $ characters.)
|
||||
verbatim between `$` characters.)
|
||||
|
||||
3. If the `--jsmath` option is used, TeX math will be put inside
|
||||
`<span>` tags (for inline math) or `<div>` tags (for display math)
|
||||
|
||||
Reference in New Issue
Block a user