COMMONMARK(1) | User Commands | COMMONMARK(1) |
commonmark - parse Markdown
commonmark [OPTIONS] [FILE]
If no file is given, input will be read from STDIN
-h, --help Shows help and usage information
-v, --version Shows the currently installed version
--safe Escapes all raw HTML input and removes unsafe URLs
Converting a file named document.md:
Converting a file and saving its output:
Converting from STDIN:
Converting from STDIN and saving the output:
See also:
Full documentation can be found at http://commonmark.thephpleague.com/
December 2020 | commonmark 1.5.7 |