cmark

Converts Markdown to HTML with CommonMark specification compliance

brewmacoslinux
Try with needOr install directly
Source

About

Strongly specified, highly compatible implementation of Markdown

Commands

cmark

Examples

Convert a Markdown file to HTML$ cmark input.md > output.html
Convert Markdown from stdin to HTML with specific format$ echo '# Hello' | cmark --to html
Convert Markdown to XML for processing$ cmark --to xml input.md