MARKDOWN-IT(1)
๐ MARKDOWN-IT(1) ๐
okay bestie, welcome to the markdown-it manual page โ user commands edition, she's a whole vibe, she's from the markdown-it-py girlies, dated 2026-05-13, and she is literally just here to turn your Markdown into HTML. no cap.
โจ NAME โจ
markdown-it โ parse Markdown and write HTML ๐ฆ
๐ธ SYNOPSIS ๐ธ
fr fr, here's how you call her:
markdown-it [OPTIONS] [FILE...]
markdown-it --stdin [OPTIONS]
๐ DESCRIPTION ๐
markdown-it converts Markdown to HTML using markdown-it-py. it's giving โจconverterโจ and honestly? she ate.
if you hand her one or more FILE arguments, every single file gets read and rendered straight to standard output. like, she's serving each one, okay?
if you set --stdin, she reads the Markdown from standard input and renders it to standard output. piped girlie behavior, we love her ๐ซถ
but if there are no files AND no --stdin? she switches into interactive mode โ that's REPL-style input, bestie, she'll start talking back to you ๐ญ
๐ OPTIONS ๐
--stdinโ read Markdown from standard input. the humble icon. the main character of safe scripting ๐-v,--versionโ show version information and exit. quick lil flex, then she's out ๐-h,--helpโ show help text and exit. exactly what it says on the tin ๐
๐จ SAFE USAGE ๐จ
bestie. listen. this one matters.
to use markdown-it as a non-interactive filter, always pass --stdin. periodt.
do not rely on implicit stdin redirection like this:
markdown-it < input.md
why?? because that form enters interactive mode, writes prompts to standard output ๐ญ, and can produce unexpected HTML output. like the HTML equivalent of a jumpscare ๐
use this instead:
markdown-it --stdin < input.md > output.html
see how much better that feels? immaculate. no notes โจ
๐ง EXAMPLES ๐ง
render a file, classic behavior:
markdown-it README.md > README.html
render multiple files (concatenated output, she's stacking them like a fit ๐):
markdown-it header.md body.md footer.md > page.html
render piped input, the safe way:
cat README.md | markdown-it --stdin > README.html
๐ SEE ALSO ๐
ngl, this page didn't list any SEE ALSO references, but you can always run markdown-it --help if you need her to introduce herself again ๐ซถ
okay that's the whole page, you're officially educated, i'm so proud of you ๐
signing off: this one came from markdown-it-py, version dated 2026-05-13, and she's a user-commands kind of girl โ and the manual name is literally right there in the title, MARKDOWN-IT(1). slay. bye bestie! ๐ธโจ
๐ฆ where this page comes from
- ubuntu stonking: python3-markdown-it 4.2.0-3 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms