Skip to content

Pandoc --filter option

pandoc-math can also be used just like any other pandoc filter.

A typical command using pandoc-math with the filter option would look like:

pandoc main.tex -o output.html -s --mathjax --number-sections --filter pandoc-math --metadata-file metadata.yaml

NOTE: Specifying metadata

To get support for amsthm environments, you will need to specify the amsthm theoren names, styles, and shared/parent counters options manually in a YAML file and pass this to the --metadata-file option. An example of such a metadata file can be found here.


Last update: August 14, 2023
Created: August 14, 2023