.\" Generated by kramdown-man 0.1.4 .\" https://github.com/postmodern/kramdown-roff#readme .TH kramdown-man.1 "April 2013" kramdown-man "User Manuals" .LP .SH DESCRIPTION .LP .PP A Kramdown .UR http://kramdown.rubyforge.org/ .UE convert for converting Markdown files into man pages. .LP .SH EXAMPLE .LP .nf require 'kramdown' require 'kramdown/man' doc = Kramdown::Document.new(File.read('man/kramdown\-man.1.md')) File.write('man/kramdown\-man.1',doc.to_man) system 'man', 'man/kramdown\-man.1' .fi .LP .SH SYNTAX .LP .SS FORMATTING .LP .nf `code` .fi .LP .PP \fB\fCcode\fR .LP .nf *emphasis* .fi .LP .PP \fIemphasis\fP .LP .nf **strong** .fi .LP .PP \fBstrong\fP .LP .SS PARAGRAPHS .LP .nf Normal paragraph. .fi .LP .PP Normal paragraph. .LP .nf `command` [`\-\-foo`] *FILE* .fi .LP .HP \fB\fCcommand\fR [\fB\fC--foo\fR] \fIFILE\fP .LP .nf `\-\-tagged` Text here. .fi .LP .TP \fB\fC--tagged\fR Text here. .LP .SS LINKS .LP .nf [website](http://example.com/) .fi .LP .PP website .UR http://example.com/ .UE .LP .nf [bash](man:bash(1)) .fi .LP .PP .BR bash (1) .LP .nf Email .fi .LP .PP Email .MT bob@example.com .ME .LP .SS LISTS .LP .nf * one * two * three extra paragraph .fi .LP .RS .IP \(bu 2 one .IP \(bu 2 two .IP \(bu 2 three .IP \( 2 extra paragraph .RE .LP .nr step1 0 1 .RS .IP \n+[step1] one .IP \n+[step1] two .IP \n+[step1] three .IP \n extra paragraph .RE .LP .SS HORIZONTAL RULE .LP .nf \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- .fi .LP .ti 0 \l'\n(.lu' .LP .SS BLOCKQUOTES .LP .nf > Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. > > \-\-Antoine de Saint\-Exupéry .fi .LP .PP .RS Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. .LP --Antoine de Saint\-Exupéry .RE .LP .SS CODE BLOCKS .LP .nf #include int main() { printf("hello world\\n"); return 0; } #include int main() { printf("hello world\\n"); return 0; } .fi .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern.mod3@gmail.com .ME .LP