4 ms·
Can someone remind me what tool I use to convert markdown to man pages? Even better, anyone have a good way to embed a man page into my README?
by nixpulvis 5y ago
Can someone remind me what tool I use to convert markdown to man pages? Even better, anyone have a good way to embed a man page into my README?
- sidpatil 5y agoTry pandoc [1]. You can convert back and forth between manpage and Markdown with it. [1] https://pandoc.org/index.html https://pandoc.org/index.html
- AlexanderDhoore 5y agoAnd also a few other formats. Wanna convert LaTeX to Black Speech? No problem! Use pandoc!
- anjbe 5y agoMandoc, the default manpage formatter on OpenBSD, FreeBSD, NetBSD, macOS, and some Linuxes (as well as web frontends like manpages.debian.org and man.archlinux.org), can convert manpages to Markdown, or to HTML directly: https://mandoc.bsd.lv/man/mandoc.1.html#Markdown_Output https://mandoc.bsd.lv/man/mandoc.1.html#Markdown_Output