MULTIMARKDOWN(1p)
β¨ MULTIMARKDOWN β¨
okay bestie, so this is multimarkdown, from the perl manual pages (section 1p, user contributed perl docs, iykyk) π
πΈ NAME πΈ
multimarkdown β convert MultiMarkdown syntax to (X)HTML. that's it. that's the whole job. and she does it flawlessly.
π¦ DESCRIPTION π¦
so this program ships as part of Perl's Text::MultiMarkdown module β it's basically the demo girl, the sample usage, the "here's how you'd actually use this" moment π«Ά
you can invoke multimarkdown on literally any file that contains MultiMarkdown syntax, and it will produce the matching (X)HTML on STDOUT. like, that's the whole vibe:
$ cat file.txt
[MultiMarkdown][] *extends* the very well-known [Markdown][] syntax.
[MultiMarkdown]: http://fletcherpenney.net/What_is_MultiMarkdown
[Markdown]: http://daringfireball.net/projects/markdown/
$ multimarkdown file.txt
<p><a href="http://fletcherpenney.net/What_is_MultiMarkdown">MultiMarkdown</a> <em>extends</em> the very well-known <a href="http://daringfireball.net/projects/markdown/">Markdown</a> syntax.</p>
and if you don't hand her a file at all? she just expects her input from STDIN, no questions asked, main character energy fr fr:
$ echo "A **simple** test" | multimarkdown
<p>A <strong>simple</strong> test</p>
π OPTIONS π
versionβ shows the full information for this version π (the whole lore, not just the number)shortversionβ shows only the version number. just the digits, minimal, clean β¨html4tagsβ produce HTML 4-style tags instead of XHTML. here's the tea: XHTML requires elements that do not wrap a block (i.e. thehrtag) to state they will not be closed, by closing with/>. HTML 4-style will plainly output the tag as it comes π like:
$ echo '---' | multimarkdown
<hr />
$ echo '---' | multimarkdown --html4tags
<hr>
helpβ shows this documentation π (hi, you're reading her)
π AUTHOR π
- Copyright 2004 John Gruber
- Copyright 2006 Fletcher Penny
- Copyright 2008 Tomas Doran
the manpage was written by Gunnar Wolf <gwolf@debian.org> for its use in Debian systems, but can be freely used elsewhere π«Ά (she's generous like that)
for full licensing information, please refer to Text::MultiMarkdown.pm's full documentation β go read the source bestie, the receipts are all there π
π₯ SEE ALSO π₯
Text::MultiMarkdown- <http://fletcherpenney.net/What_is_MultiMarkdown>
and that's the whole page, no cap π§ this was perl v5.36.0, dated 2022-11-21, living her best life in the MULTIMARKDOWN(1p) section β mwah, periodt π
π
π¦ where this page comes from
- debian bookworm: libtext-multimarkdown-perl 1.000035-3 Β· BSD-3-Clause
- debian trixie: libtext-multimarkdown-perl 1.000035-3 Β· BSD-3-Clause
- ubuntu noble: libtext-multimarkdown-perl 1.000035-3 Β· BSD-3-Clause
- ubuntu resolute: libtext-multimarkdown-perl 1.000035-3 Β· BSD-3-Clause
- ubuntu stonking: libtext-multimarkdown-perl 1.000035-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms