bin/md2man-html in md2man-1.6.2 vs bin/md2man-html in md2man-2.0.0
- old
+ new
@@ -1,44 +1,41 @@
#!/usr/bin/env ruby
=begin =======================================================================
-# MD2MAN-HTML 1 2013-05-05 1.6.2
+# MD2MAN-HTML 1 2013-05-05 2.0.0
## NAME
-md2man-html - convert md2man(1) flavored markdown(7) into HTML
+md2man-html - convert md2man(5) flavored markdown(7) into HTML
## SYNOPSIS
`md2man-html` [*OPTION*]... [*FILE*]
## DESCRIPTION
-This program converts the markdown(7) input from the given *FILE* into HTML
-and then prints the result to stdout. stdin is read if *FILE* is not given.
+This program converts md2man(5) flavored markdown(7) input from the given
+*FILE* into HTML and then prints the result to the standard output stream.
+If *FILE* is not given, then the standard input stream is read in its place.
-### Document format
+### Cross references
-See md2man(1) for details about the document format and Markdown extensions.
-
-### Cross linking
-
-References to other manual pages are converted into hyperlinks that have
-class="manpage-reference" and href="../man${section}/${page}.${section}.html"
+Cross references to manual pages are emitted as HTML hyperlinks that have
+`class="md2man-xref"` and `href="../man$SECTION/$PAGE.$SECTION.html"`
attributes.
-For example, the markdown(7) reference would be converted into HTML as:
+For example, the `printf(3)` cross reference would be emitted as this HTML:
- <a class="manpage-reference" href="../man7/markdown.7.html">markdown(7)</a>
+ <a class="md2man-xref" href="../man3/printf.3.html">printf(3)</a>
## OPTIONS
`-h`, `--help`
Show this help manual.
## SEE ALSO
-md2man(1)
+md2man-roff(1), md2man-rake(1), md2man(5)
=end =========================================================================
require 'binman'
BinMan.help