Closed GHolk closed 2 years ago
The idea was to put that in the main title (at least for the version).
I implemented another idea:
manual
is unset, so it defaults to the section number, which is specified by ronn formatversion
(== manVersion
) defaults to the version found in package.json of the module containing the markdown file being processedThis means marked-man myman.md > myman.7
will just work if done in a js module.
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?