snippetbashTip
cmark — Convert CommonMark Markdown formatted text to other formats. More information: <https://manned.org/c
Viewed 0 times
cmarkcommonmarkcommandmarkdowntextconvertcliformatted
Problem
How to use the
cmark command: Convert CommonMark Markdown formatted text to other formats. More information: <https://manned.org/cmark>.Solution
cmark — Convert CommonMark Markdown formatted text to other formats. More information: <https://manned.org/cmark>.Render a CommonMark Markdown file to HTML:
cmark --to html {{filename.md}}Convert data from
stdin to LaTeX:cmark --to latexConvert straight quotes to smart quotes:
cmark --smart --to html {{filename.md}}Validate UTF-8 characters:
cmark --validate-utf8 {{filename.md}}Code Snippets
Render a CommonMark Markdown file to HTML
cmark --to html {{filename.md}}Convert data from `stdin` to LaTeX
cmark --to latexConvert straight quotes to smart quotes
cmark --smart --to html {{filename.md}}Validate UTF-8 characters
cmark --validate-utf8 {{filename.md}}Context
tldr-pages: common/cmark
Revisions (0)
No revisions yet.