3 ms·
> * I was disappointed that there was no markdown-to-roff conversion I found this rather surprising too. Pandoc can trivially convert markdown to man-page roff
by jorams 3y ago
> * I was disappointed that there was no markdown-to-roff conversion
I found this rather surprising too. Pandoc can trivially convert markdown to man-page roff. Insert that into the given template and it looks like more like an actual man page.
- zerojames 3y agoGood suggestion! Context: All man pages are generated on the fly on GitHub Pages. My site generates ~2500 pages, for which 826 are eligible for a man page. I didn't want to introduce another parser since I just got my site build times down :D I can counter increased build times with caching, but it gets a bit icky since some blog pages are evergreen (i.e. my blogroll). [insert cache invalidation complaint here] But there's certainly a way!
- jorams 3y agoI feel that, build times can be a pain. I'm calling out to pandoc to build a static site and I've had to parallelize it to get build times down, and that's with far fewer pages.