mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 08:17:53 +03:00
cmark: add page (#2082)
This commit is contained in:
parent
4738e82768
commit
c43bf37ea2
19
pages/common/cmark.md
Normal file
19
pages/common/cmark.md
Normal 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}}`
|
Loading…
Reference in New Issue
Block a user