Scroll to navigation

OMD(1) User Commands OMD(1)

NAME

omd - Markdown frontend in pure OCaml

DESCRIPTION

omd [options] [inputfile1 .. inputfileN] [options]

-o file.html Specify the output file (default is stdout).

--
Consider all remaining arguments as input file names.
Use standard Markdown style for emph/bold when using `_'.
Ignore lines that start with `!!!' (3 or more exclamation points).
Ignore everything on a line after `!!!' (3 or more exclamation points).
Output Markdown instead of HTML.
Output without the HTML tags.
Replace `*Table of contents*' by the table of contents.
Output only the table of contents.
Section for the Table of contents (default: all).
Table of contents depth (default is 2).
Protect HTML comments.
Register program p as a code highlighter for language l.
Registers unknown languages to be l instead of void.
Convert new lines to <br/>.
Activate extension ext (not yet implemented).
List available extensions ext (not yet implemented).
Don't check validity of HTML tag names.
(might not work as expected yet) Block HTML only in block HTML, inline HTML only in inline HTML (semantics undefined if use both -b and -s).
List all known HTML tags
List all known inline HTML tags
Print version.
Set the start token to use to declare a verbatim section. If you use -VE, you must use -VS, and both must be non-empty.
Set the end token to use to declare a verbatim section. If you use -VE, you must use -VS, and both must be non-empty.
Activate warnings (beta).
Convert warnings to errors, implies -w (beta).
Display this list of options
Display this list of options

SEE ALSO

The full documentation for omd is maintained as a Texinfo manual. If the info and omd programs are properly installed at your site, the command

info omd

should give you access to the complete manual.

January 2025 omd 1.3.2