cmark

Convert CommonMark Markdown formatted text to other formats. More information: https://github.com/commonmark/cmark.

cmark --to html filename.md

cmark --to latex

cmark --smart --to html filename.md

cmark --validate-utf8 filename.md