cmark: add page (#2082)

italian
Starbeamrainbowlabs 2018-05-06 04:56:21 +01:00 committed by Agniva De Sarker
parent 4738e82768
commit c43bf37ea2
1 changed files with 19 additions and 0 deletions

19
pages/common/cmark.md Normal file
View File

@ -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}}`