man/kramdown-man.1 in kramdown-man-1.0.0 vs man/kramdown-man.1 in kramdown-man-1.0.1

- old
+ new

@@ -1,11 +1,14 @@ .\" Generated by kramdown-man 1.0.0 .\" https://github.com/postmodern/kramdown-man#readme .TH kramdown-man 1 "April 2013" kramdown-man "User Manuals" +.SH NAME +.PP +kramdown\-man \- generates man pages from markdown files .SH SYNOPSIS .PP -\fBkramdown-man\fR \[lB]\fIoptions\fP\[rB] \fIMARKDOWN\[ru]FILE\fP +\fBkramdown\-man\fR \[lB]\fIoptions\fP\[rB] \fIMARKDOWN\[ru]FILE\fP .SH DESCRIPTION .PP A Kramdown .UR http:\[sl]\[sl]kramdown\.gettalong\.org\[sl] .UE @@ -14,18 +17,18 @@ .TP \fIMARKDOWN\[ru]FILE\fP The input markdown file to convert\. .SH OPTIONS .TP -\fB-o\fR, \fB--output\fR \fIOUTPUT\fP +\fB\-o\fR, \fB\-\-output\fR \fIOUTPUT\fP The file to write the man page output to\. .TP -\fB-V\fR, \fB--version\fR -Prints the \fBkramdown-man\fR version\. +\fB\-V\fR, \fB\-\-version\fR +Prints the \fBkramdown\-man\fR version\. .TP -\fB-h\fR, \fB--help\fR -Prints the usage for \fBkramdown-man\fR\. +\fB\-h\fR, \fB\-\-help\fR +Prints the usage for \fBkramdown\-man\fR\. .SH EXAMPLE .PP Render a man page from markdown: .PP .RS 4 @@ -53,12 +56,12 @@ system \(aqman\(aq, \(aqman\[sl]kramdown\-man\.1\(aq .EE .RE .SS RAKE TASK .PP -Define a \fBman\fR and files tasks which render all \fB*.md\fR files within the -\fBman/\fR directory: +Define a \fBman\fR and files tasks which render all \fB*\.md\fR files within the +\fBman\[sl]\fR directory: .PP .RS 4 .EX require \(aqkramdown\[sl]man\[sl]task\(aq Kramdown::Man::Task\.new @@ -107,11 +110,11 @@ .EX \`command\` \[lB]\`\-\-foo\`\[rB] **FILE** .EE .RE .PP -\fBcommand\fR \[lB]\fB--foo\fR\[rB] \fBFILE\fP +\fBcommand\fR \[lB]\fB\-\-foo\fR\[rB] \fBFILE\fP .SS Argument Definitions .PP .RS 4 .EX *ARG* @@ -128,11 +131,11 @@ \`\-o\`, \`\-\-option\` *VALUE* : Description here\. .EE .RE .TP -\fB-o\fR, \fB--option\fR \fIVALUE\fP +\fB\-o\fR, \fB\-\-option\fR \fIVALUE\fP Description here\. .SS Links .PP .RS 4 .EX @@ -251,32 +254,40 @@ .RE .SS Code Blocks .PP .RS 4 .EX -Source code: - \[sh]include <stdio\.h> int main() \[lC] printf(\[dq]hello world\en\[dq]); return 0; \[rC] -.EE -.RE -.PP -Source code: -.PP -.RS 4 -.EX + \[sh]include <stdio\.h> int main() \[lC] printf(\[dq]hello world\en\[dq]); return 0; \[rC] +.EE +.RE +.SS Code Fences +.PP +.RS 4 +.EX +\`\`\` +puts \[dq]hello world\[dq] +\`\`\` +.EE +.RE +.PP +.PP +.RS 4 +.EX +puts \[dq]hello world\[dq] .EE .RE .SH AUTHOR .PP Postmodern