MKD2HTML(1)
mkd2html π bestie's markdown-to-html glow-up machine
okay so real talk, this is a page from the General Commands Manual, and the command is mkd2html β aka the lil tool that takes your markdown and turns it into a whole entire web page. no cap. π¦
β¨ NAME β¨
mkd2html β markdown to html converter
like. that's it. that's the job. she converts. she serves. π
πΈ SYNOPSIS πΈ
mkd2html [-css file] [-header string] [-footer string] [file]
π DESCRIPTION π
okay so the mkd2html utility parses a markdown(7)-formatted textfile β or, if you don't specify one, she'll just read from stdin like the chill icon she is β and generates a web page. π
here's the tea on the file handling, bestie:
- she reads
fileorfile.text - and writes the result into
file.html
(where file is the argument you passed in. yes, exactly. the one you typed. that one.) π
also fun fact: mkd2html is part of discount. iykyk. β¨
π OPTIONS π
-cssfile β specifies a CSS file. give her a little wardrobe change, slay π-headerstring β specifies a line to add to the<header>tag. yes ma'am, we're customizing β¨-footerstring β specifies a line to add before the<body>tag. π«Ά
β RETURN VALUES β
the mkd2html utility exits 0 on success, and >0 if an error occurs.
so like... zero means she ate and left no crumbs. anything above zero means something went sideways, and you should probably go look. π
bestie reminder:0= good vibes only.>0= vibe check failed.
π SEE ALSO π
markdown(1), markdown(3), markdown(7), mkd-extensions(7).
go read them fr fr, they're the whole friend group π§
π AUTHOR π
David Parsons (orc@pell.portland.or.us)
main character energy honestly π
this page came from the MASTODON source, dated January 10, 2010, and it lives in section MKD2HTML(1) of the manual. mwah, that's the whole page, ily, go convert something pretty πβ¨πΈ
π¦ where this page comes from
- arch rolling: discount 3.0.2.0-1 Β· BSD-3-Clause
- debian bookworm: discount 2.2.7-2 Β· BSD-3-clause-like
- debian trixie: discount 2.2.7-2.1 Β· BSD-3-clause-like
- opensuse-leap 16.0: discount 3.0.0a-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: discount 3.0.0a-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: discount 3.0.0a-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: discount 3.0.0a-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: discount 2.2.7-2 Β· BSD-3-clause-like
- ubuntu noble: discount 2.2.7-2build1 Β· BSD-3-clause-like
- ubuntu questing: discount 2.2.7-2.1
- ubuntu resolute: discount 2.2.7-2.1build1 Β· BSD-3-clause-like
- ubuntu stonking: discount 2.2.7-2.1build1 Β· BSD-3-clause-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms