Skip to content Skip to sidebar Skip to footer

Pandoc: Escape HTML Option

While other markdown implementations have a switch to escape HTML, I couldn't find one for Pandoc. I want Pandoc to convert HELLO WORLD to

HELLO

Solution 1:

You can disable the extension raw_html by using this command to compile:

pandoc -f markdown-raw_html -t html

Although the output does not exactly matches your expected output because it will also transform > to >.


Post a Comment for "Pandoc: Escape HTML Option"