January 23th, 2024
本文为使用 Pandoc 将 LaTeX输出为 .html 并部署到博客的记录。
One should install Pandoc first,
And LaTeX environment.
Pandoc is an "Universal markup converter", which a Haskell library for converting from one markup format to another, and a command-line tool that uses this library.
For more information: pandoc in Github
Pandoc example
pandoc math.text -s -o mathDefault.html
pandoc math.text -s --mathml -o mathMathML.html
pandoc math.text -s --webtex -o mathWebTeX.html
pandoc math.text -s --mathjax -o mathMathJax.html
pandoc math.text -s --katex -o mathKaTeX.html