.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3. .TH COMMONMARK "1" "May 2021" "commonmark 1.6.2" "User Commands" .SH NAME commonmark \- parse Markdown .SH SYNOPSIS .B commonmark [\fI\,OPTIONS\/\fR] [\fI\,FILE\/\fR] .SH DESCRIPTION If no file is given, input will be read from STDIN .SH OPTIONS \fB\-h\fR, \fB\-\-help\fR Shows help and usage information .PP \fB\-v\fR, \fB\-\-version\fR Shows the currently installed version .PP \fB\-\-safe\fR Escapes all raw HTML input and removes unsafe URLs .SH EXAMPLES Converting a file named document.md: .IP commonmark document.md .PP Converting a file and saving its output: .IP commonmark document.md > output.html .PP Converting from STDIN: .IP echo \-e '# Hello World!' | commonmark .PP Converting from STDIN and saving the output: .IP echo \-e '# Hello World!' | commonmark > output.html .PP See also: .PP Full documentation can be found at http://commonmark.thephpleague.com/