Aspyct.org

webmanner

What is it?

Yet another manpage to html converter, built and tested on OSX.

Although webmanner works under Linux, it does not recognize formatting yet. I’ll fix that as soon as possible.

Where to get the latest version?

Go check it out on the github repository.

Usage

Call it just like you would call the man, and redirect stdout to a file.

1
2
3
4
webmanner 2 read > read.2.html

# Or omit the section
webmanner read > read.1.html

Options

1
2
3
4
5
6
7
8
9
Usage: webmanner [[<section>] <title>]
  -j, --js PATH        Add a <script> tag with given PATH as source
  -s, --style PATH     Add a <link rel='stylesheet'> tag with given PATH as href
  -t, --tab-width NUM  Set the number of whitespaces for html indentation
  -l, --linux          Force webmanner to operate under linux
  -u, --unstyled       Remove default css styling
  -p PATTERN,          Page title pattern (ex: '%{page} | my online man)'
      --title-pattern
  -h, --header HTML    HTML to be put into header

License

MIT, feel free to use for open source & commercial projects, but be kind and mention me ;)

One more thing…

Hope you like it! Feel free to report bugs, request enhancement or contribute :)