POD2MARKDOWN(1)
π POD2MARKDOWN π
okay bestie, so this one is a little command-line icon called pod2markdown, and yes it lives in the User Contributed Perl Documentation section, and yes it's about to make your whole documentation workflow cute β¨
πΈ NAME πΈ
pod2markdown β Convert POD text to Markdown. that's it, that's the whole job description, and it does it slayfully π
π VERSION π
version 3.400 β that's the one, that's the number, don't @ me π«Ά
β¨ SYNOPSIS β¨
four ways to run this thing, pick your fighter:
# parse STDIN, print to STDOUT
$ pod2markdown < POD_File > Markdown_File
# parse file, print to STDOUT
$ pod2markdown input.pod
# parse file, print to file
$ pod2markdown input.pod output.mkdn
# parse STDIN, print to file
$ pod2markdown - output.mkdn
like, look at that. no notes. a full little pipeline moment π
π¦ DESCRIPTION π¦
okay so here's the tea: this program uses Pod::Markdown to convert POD into Markdown sources. lowkey iconic, highkey useful.
UTF-8 is the default output encoding if no encoding options are specified (see "OPTIONS"). that's the vibe check it passes by default, no cap π
it accepts two optional arguments:
- input pod file β defaults to
STDIN - output markdown file β defaults to
STDOUT
two optional args, both with defaults, very low-maintenance main character energy honestly π
π OPTIONS π
buckle up, there's a list, and we're doing the whole list:
--html-encode-charsβ a list of characters to encode as HTML entities. pass a regexp character class, or pass1to mean control chars, high-bit chars, and"<&>"'". see"html_encode_chars"inPod::Markdownfor more information π--match-encoding(-m) β use the same=encodingas the input pod for the output file. matching outfits, but for encodings β¨--local-module-url-prefixβ alters the perldoc urls that are created fromL<>codes when the module is a "local" module (Local::*orFoo_Corp::*(seeperlmodlib)). the default is to useperldoc_url_prefix. see"local_module_url_prefix"inPod::Markdownfor more information π¦--man-url-prefixβ alters the man page urls that are created fromL<>codes. the default ishttp://man.he.net/man. see"man_url_prefix"inPod::Markdownfor more information π₯--perldoc-url-prefixβ alters the perldoc urls that are created fromL<>codes. can be:"metacpan"(shortcut forhttps://metacpan.org/pod/)"sco"(shortcut forhttp://search.cpan.org/perldoc?)- any url
the default is "metacpan". see "perldoc_url_prefix" in Pod::Markdown for more information π
--output-encoding(-e) β specify the encoding for the output file π--utf8(-u) β alias for-e UTF-8. tiny shortcut, big slay π
β SEE ALSO β
this program is strongly based on "pod2mdwn" from Module::Build::IkiWiki. giving credit where credit is due, as one should π«Ά
π AUTHORS π
the whole crew, respect the roster:
- Marcel Gruenauer
<marcel@cpan.org> - Victor Moral
<victor@taquiones.net> - Ryan C. Thompson
<rct at thompsonclan d0t org> - Aristotle Pagaltzis
<pagaltzis@gmx.de> - Randy Stauner
<rwstauner@cpan.org>
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2011 by Randy Stauner.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. free software, free to remix, we love to see it πΈ
and that's the whole page bestie, go forth and convert some POD π β¨
perl v5.42.0 Β· 2024-03-08 β that's the version of perl and the date this whole thing was dated, mwah, bye π§ββοΈπ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Pod-Markdown 3.400.0-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms