No description
Find a file
2019-04-11 16:41:30 -04:00
CNAME lol 2019-04-10 19:30:39 -04:00
edward-shen.man added pandoc template 2019-04-10 21:15:13 -04:00
index.html lol autofetch from man page 2019-04-11 16:41:30 -04:00
LICENSE added license 2019-04-11 15:09:00 -04:00
man-template.html made it public 2019-04-11 16:12:50 -04:00
man-to-html lol autofetch from man page 2019-04-11 16:41:30 -04:00
README.md lol autofetch from man page 2019-04-11 16:41:30 -04:00

man-to-html

Opinionated man page (roff) to html converter.

Usage

Here's how my man page is created:

./man-to-html edward-shen.man index.html

This script will automatically fetch in metadata information from the man page. Specifically, it'll parse the first line:

.TH cmd-name page date version title

This might not work and will likely break if the man page's first line isn't in that exact format.

Prereqs

Install pandoc.