MKD2HTML(1)
β¨ MKD2HTML β the manual, but make it cute β¨
okay bestie, welcome to mkd2html, the little utility that turns your markdown document into (X)HTML π it's a general commands manual page, and I'm about to walk you through every single detail, no cap.
πΈ NAME πΈ
mkd2html β convert a markdown document into (X)HTML π¦
π SYNOPSIS π
mkd2html [-dHhmnx] [file]
π DESCRIPTION π
so the mkd2html utility reads file and generates (X)HTML input from markdown source β¨ and if you don't specify file? it just takes it from standard input. lowkey iconic behavior.
by default, mkd2html implies -H and -m options π that's just the vibe it's on.
the options are as follows, and yes we're going through all of them:
π OPTIONS π
-d,--discountβ enable Discount extensions π and there are a lot of them:- image size specification, by appending
=(width)x(height)to the link πΌοΈ - pseudo-protocols in links:
abbr:descriptionfor<abbr title="description">...</abbr>class:namefor<span class="name">...</span>id:namefor<span id="name">...</span>raw:textfor verbatim unprocessed text inclusion
- class blocks: blockquotes beginning with
%class%will be rendered as adivof the given class(es) π - and PHP-Markdown-like tables, periodt π
- image size specification, by appending
-H,--htmlβ output HTML, with self-closing tags like:<br>β¨-h,--helpβ display help text π«Ά (the classic, the beloved)-m,--markdownβ disable all extensions and use strict markdown syntax π no extras, no frills, just the basics bestie-n,--natextβ enable Discount extensions and Natasha's own extensions π this one's stacked:idattribute for headers, using the syntaxid#Header textclassattribute for paragraphs, by putting class name(s) between parenthesis at the very beginning of the paragraph<ins>and<del>spans, using respectively++and--as delimiters (with emphasis-like restrictions, i.e. an opening delimiter cannot be followed by a whitespace, and a closing delimiter cannot be preceded by a whitespace) β οΈ so watch your spacing fr fr- plain
<span>without attribute, using emphasis-like delimiter|
-x,--xhtmlβ output XHTML, with self-closing tags like:<br />π
π EXIT STATUS π
the mkd2html utility exits 0 on success, and >0 if an error occurs π so if you get a nonzero number, something went wrong, bestie.
π¦ SEE ALSO π¦
mkd2latex(1), mkd2man(1) πΈ go read those too, they're the whole friend group
π AUTHORS π
mkd2html was written by Natasha "Kerensikova" Porte <natacha@instinctive.eu> π
the manual page was originally written by Massimo Manghi <mxmanghi@apache.org>, and rewritten to mdoc format by Svyatoslav Mishyn <juef@openmailbox.org> π
and that's the whole page, bestie π this Debian build is dated March 1, 2016, and honestly? it ate. slay, go convert some markdown β¨ππ¦
π¦ where this page comes from
- debian bookworm: libsoldout-utils 1.4-5 Β· ISC
- debian trixie: libsoldout-utils 1.4-7+b1 Β· ISC
- ubuntu jammy: libsoldout-utils 1.4-5 Β· ISC
- ubuntu noble: libsoldout-utils 1.4-5build1 Β· ISC
- ubuntu questing: libsoldout-utils 1.4-7
- ubuntu resolute: libsoldout-utils 1.4-7build1 Β· ISC
- ubuntu stonking: libsoldout-utils 1.4-7build1 Β· ISC
- Copyright (c) 2009 - 2016 Natacha PortΓ© <natacha@instinctive.eu>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms