layout: default
This functionality has been deprecated in version 1.4 and will be removed in 2.0.
Markdown can be converted at the command line using the ./bin/commonmark script.
./bin/commonmark [OPTIONS] [FILE]
-h, --help: Shows help and usage information--enable-em: Disable <em> parsing by setting to 0; enable with 1 (default: 1)--enable-strong: Disable <strong> parsing by setting to 0; enable with 1 (default: 1)--use-asterisk: Disable parsing of * for emphasis by setting to 0; enable with 1 (default: 1)--use-underscore: Disable parsing of _ for emphasis by setting to 0; enable with 1 (default: 1)If no file is given, input will be read from STDIN.
Output will be written to STDOUT.
./bin/commonmark document.md
./bin/commonmark document.md > output.html
echo -e '# Hello World!' | ./bin/commonmark
echo -e '# Hello World!' | ./bin/commonmark > output.html