OMD(1)
π NAME π
okay so bestie, listen β omd is a Markdown frontend in pure OCaml. that's it, that's the whole vibe. (it's from the OMD(1) manual, User Commands section, iykyk π«Ά)
πΈ DESCRIPTION πΈ
here's how you call her:
omd [options] [inputfile1 .. inputfileN] [options]
yep, options can go literally anywhere, before and after your input files. she's flexible like that. π
and now the flag menu, bestie β read it, don't skim it, there WILL be a quiz (there will not be a quiz):
-ofile.html β tells her where to put the output. default isstdout, so if you don't say anything she just yells into the terminal. iconic honestly.--β everything after this is treated as input file names, no cap. all remaining arguments, consider them files.-uβ use standard Markdown style for emph/bold when you're using_. slay.-cβ ignore any line that starts with!!!(that's 3 or more exclamation points, she counted).-Cβ ignore everything on a line after!!!(again, 3 or more exclamation points).-mβ output Markdown instead of HTML. yes she can spit Markdown back out. versatile queen.-notagsβ output without the HTML tags.-tocβ replaces*Table of contents*with the actual table of contents. the way that works?? obsessed.-otocβ output only the table of contents. nothing else. just the toc. main character energy.-tsf β section for the Table of contents. default is all.-tdf β Table of contents depth. default is2.-Hβ protect HTML comments. keep them safe. π‘οΈ-rl=p β register program p as a code highlighter for language l.-Rl β registers unknown languages to be l instead of void.-nl2brβ convert new lines to<br/>.-xext β activate extension ext (not yet implemented, so like... manifest it bestie β¨).-lβ list available extensions ext (also not yet implemented π).-bβ don't check validity of HTML tag names. live dangerously.-sβ (might not work as expected yet π« ) Block HTML only in block HTML, inline HTML only in inline HTML (semantics undefined if use both-band-s).-LHTMLβ List all known HTML tags-LHTMLiβ List all known inline HTML tags-versionβ Print version.-VSstart β 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.-VEend β 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.-wβ Activate warnings (beta).-Wβ Convert warnings to errors, implies-w(beta).-helpβ Display this list of options--helpβ Display this list of options
π¨ heads up bestie:-xand-lare not yet implemented,-smight not work as expected yet, and-w/-Ware beta. also if you run-band-stogether, the semantics are undefined. that's not me being dramatic, that's the manual. don't do it. fr fr. π
π¦ SEE ALSO π¦
the full documentation for omd lives in a Texinfo manual. if info and omd are properly installed at your site, then this command:
info omd
should hand you the complete manual. go get it, you deserve the whole thing. π
and that's a wrap on the omd page, bestie π this was version omd 1.3.2, dated June 2025, filed under OMD(1). go write some Markdown, you absolute icon πβ¨
π¦ where this page comes from
- debian trixie: omd 1.3.2-2+b3 Β· ISC
- ubuntu questing: omd 1.3.2-2build3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms