From c43bf37ea23f170d7a993cc3826b571fb8edf375 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 6 May 2018 04:56:21 +0100 Subject: [PATCH] cmark: add page (#2082) --- pages/common/cmark.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/cmark.md diff --git a/pages/common/cmark.md b/pages/common/cmark.md new file mode 100644 index 0000000000..96d51122c9 --- /dev/null +++ b/pages/common/cmark.md @@ -0,0 +1,19 @@ +# cmark + +> Converts CommonMark Markdown formatted text to other formats. + +- Render a Commonmark Markdown file to HTML: + +`cmark --to html {{filename.md}}` + +- Convert data from standard input to latex: + +`cmark --to latex` + +- Convert straight quotes to smart quotes: + +`cmark --smart --to html {{filename.md}}` + +- Validate utf8 characters: + +`cmark --validate-utf8 {{filename.md}}`