kapouer / marked-man

markdown to roff wrapper around marked
Other
76 stars 14 forks source link

get version and manual in markdown? #10

Closed GHolk closed 2 years ago

GHolk commented 7 years ago

feeling give option in command line is troublesome. marked-man --manual=mymanual --version=2 myman.md >myman.7

have any idea about embed these two variable in markdown? like <!--MARKED-MAN VERSION=13 MANUAL=mymanual --> at very first line?

kapouer commented 7 years ago

The idea was to put that in the main title (at least for the version).

kapouer commented 2 years ago

I implemented another idea:

This means marked-man myman.md > myman.7 will just work if done in a js module.