cmark
Converts CommonMark Markdown formatted text to other formats. More information: https://github.com/commonmark/cmark.
-
Render a CommonMark Markdown file to HTML:
cmark --to html {{filename.md}}
-
Convert data from
stdin
to LaTeX:
cmark --to latex
-
Convert straight quotes to smart quotes:
cmark --smart --to html {{filename.md}}
-
Validate UTF-8 characters:
cmark --validate-utf8 {{filename.md}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.