mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 21:25:48 +00:00
This replaces (now deprecated but still functional) options `--mathml`, `--mathjax`, `--gladtex`, `--katex`, `--webtex`. The `plain` style can now be specified explicitly. In defaults files, `html-math-method` is now `math-method` (though `html-math-method` will still work). Text.Pandoc.App.Opt: - In unexported type CompletionKind, add MathMethods. - In Opt, change `optHTMLMathMethod` to `optMathMethod`. [API change] Text.Pandoc.Options: - Rename HTMLMathMethod type to MathMethod. [API change] - Rename `writerHTMLMathMethod` field of WriterOptions to `writerMathMethod`. [API change] Text.Pandoc.App.Completion: - Clean up code. - Add support for `--math-method`.
482 B
482 B
% pandoc -f gfm
* `--argument` This item does not have a pipe character
* `--argA | --argB` This item has a pipe character
^D
<ul>
<li><code>--argument</code> This item does not have a pipe
character</li>
<li><code>--argA | --argB</code> This item has a pipe character</li>
</ul>
% pandoc --math-method=mathjax -f gfm+tex_math_dollars
* $|x|$
* $|y|$
^D
<ul>
<li><span class="math inline">\(|x|\)</span></li>
<li><span class="math inline">\(|y|\)</span></li>
</ul>