MKD2HTML(1)

πŸ“¦
version 3.0.2.0 Β· 2 versions
, in arch rolling, debian bookworm, debian trixie, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

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 file or file.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 πŸ‘‘

  • -css file β€” specifies a CSS file. give her a little wardrobe change, slay πŸ’…
  • -header string β€” specifies a line to add to the <header> tag. yes ma'am, we're customizing ✨
  • -footer string β€” 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 πŸ’–βœ¨πŸŒΈ