MKD2MAN(1)
π MKD2MAN(1) β the general commands manual, but make it cute π
okay bestie, so this is mkd2man, from the General Commands Manual section, and she is literally the glow-up artist of the manual page world πΈ
β¨ NAME β¨
mkd2man β convert a markdown document into an mdoc manual page
π SYNOPSIS π
mkd2man [-h] [-d date] [-s section] [-t title] [file]
π¦ DESCRIPTION π¦
so the mkd2man utility reads file and generates mdoc(7) input from markdown source. that's the whole vibe. β¨
and if you don't specify a file? no worries bestie, it just takes standard input instead. flexible queen π
The options are as follows:
-d,--dateβ sets the document date (Dd) to date. and pls, the manpage says preferrably in"Month Day, Year"format β yes that typo is in the original, we keep it, it's iconic. π If unspecified,mkd2manuses the file modification date, or the current date if reading is from standard input or ifstat(2)fails.-h,--helpβ displays help text. simple. slay.-s,--sectionβ sets the document section (Dt) to section. If unspecified,mkd2manuses1.-t,--titleβ sets the document title (Dt) to title. If unspecified,mkd2manuses the suffix-stripped filename part of file.
β οΈ okay but real talk: when reading is from stdin, the title must be specified. no title, no entry, no exceptions, periodt. π
π₯ EXIT STATUS π₯
The mkd2man utility exits 0 on success, and >0 if an error occurs.
π SEE ALSO π
mkd2html(1), mkd2latex(1), mdoc(7)
π AUTHORS π
mkd2man was written by Natasha "Kerensikova" Porte <natacha@instinctive.eu> and Baptiste Daroussin <bapt@freebsd.org>.
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 a wrap, bestie π this one came to you from Debian, dated March 30, 2016 β yes she's a lil vintage, but vintage is a vibe, okurrr? πβ¨π¦
π¦ 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