ronn
TLDR
Convert to man page
$ ronn [file.ronn]
Convert to HTML$ ronn --html [file.ronn]
Convert to both$ ronn --roff --html [file.ronn]
Preview in browser$ ronn --server [file.ronn]
Specify output directory$ ronn --output-dir [man/] [file.ronn]
SYNOPSIS
ronn [options] files...
DESCRIPTION
Ronn converts Markdown-like text to Unix man pages and HTML. It uses an extended Markdown syntax for writing manual pages in a readable format.
PARAMETERS
--roff
Generate roff (man page).--html
Generate HTML.--fragment
HTML fragment only.--server, -S
Preview server.--style style
HTML style.--output-dir dir
Output directory.--manual name
Manual name.--organization org
Organization.
EXAMPLES
$ # Generate man page
ronn mycommand.1.ronn
# Generate HTML
ronn --html mycommand.1.ronn
# Both formats
ronn --roff --html mycommand.1.ronn
# Preview
ronn --server mycommand.1.ronn
# Install man page
ronn mycommand.1.ronn
sudo cp mycommand.1 /usr/local/share/man/man1/
ronn mycommand.1.ronn
# Generate HTML
ronn --html mycommand.1.ronn
# Both formats
ronn --roff --html mycommand.1.ronn
# Preview
ronn --server mycommand.1.ronn
# Install man page
ronn mycommand.1.ronn
sudo cp mycommand.1 /usr/local/share/man/man1/
RONN FORMAT
$ mycommand(1) -- short description
=============================================
## SYNOPSIS
`mycommand` [options] <file>
## DESCRIPTION
Description of the command.
## OPTIONS
* `-h`, `--help`:
Show help message.
=============================================
## SYNOPSIS
`mycommand` [options] <file>
## DESCRIPTION
Description of the command.
## OPTIONS
* `-h`, `--help`:
Show help message.
CAVEATS
Ruby gem (gem install ronn-ng). Filename convention: name.section.ronn.
HISTORY
Ronn was created by Ryan Tomayko to simplify writing man pages. ronn-ng is the maintained fork.


