đź“ť
Pandoc-Doc Converter
Pandoc is a Haskell library for converting from one markup format to another
, and a command-line tool that uses this library.
Pandoc can also produce PDF output via LaTeX, Groff ms, or HTML.
Pandoc’s enhanced version of Markdown includes syntax for tables, definition lists, metadata blocks, footnotes, citations, math, and much more. See the User’s Manual below under Pandoc’s Markdown.
Getting Started
sh
brew install pandoc
convert markdown to html
sh
pandoc test1.md -f markdown -t html -s -o test1.html
Customizing code block highlighting

sh
asciidoctor --backend docbook --out-file - $INPUT_ADOC| \pandoc --from docbook --to docx --output $INPUT_ADOC.docx \--highlight-style espresso
It can work with assciidoctor
Get a list of available styles
sh
pandoc --list-highlight-styles