man/kramdown-man.1 in kramdown-man-0.1.4 vs man/kramdown-man.1 in kramdown-man-0.1.5

- old
+ new

@@ -1,37 +1,37 @@ .\" Generated by kramdown-man 0.1.4 -.\" https://github.com/postmodern/kramdown-roff#readme +.\" https://github.com/postmodern/kramdown-man#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. +.UR http:\[sl]\[sl]kramdown\.rubyforge\.org\[sl] +.UE plugin for converting Markdown files into man pages\. .LP .SH EXAMPLE .LP .nf -require 'kramdown' -require 'kramdown/man' +require \(aqkramdown\(aq +require \(aqkramdown\[sl]man\(aq -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' +doc \[eq] Kramdown::Document\.new(File\.read(\(aqman\[sl]kramdown\-man\.1\.md\(aq)) +File\.write(\(aqman\[sl]kramdown\-man\.1\(aq,doc\.to\[ru]man) +system \(aqman\(aq, \(aqman\[sl]kramdown\-man\.1\(aq .fi .LP .SH SYNTAX .LP .SS FORMATTING .LP .nf -`code` +\`code\` .fi .LP .PP -\fB\fCcode\fR +\fBcode\fR .LP .nf *emphasis* .fi .LP @@ -46,57 +46,57 @@ \fBstrong\fP .LP .SS PARAGRAPHS .LP .nf -Normal paragraph. +Normal paragraph\. .fi .LP .PP -Normal paragraph. +Normal paragraph\. .LP .nf -`command` [`\-\-foo`] *FILE* +\`command\` \[lB]\`\-\-foo\`\[rB] *FILE* .fi .LP .HP -\fB\fCcommand\fR [\fB\fC--foo\fR] \fIFILE\fP +\fBcommand\fR \[lB]\fB--foo\fR\[rB] \fIFILE\fP .LP .nf -`\-\-tagged` - Text here. +\`\-\-tagged\` + Text here\. .fi .LP .TP -\fB\fC--tagged\fR -Text here. +\fB--tagged\fR +Text here\. .LP .SS LINKS .LP .nf -[website](http://example.com/) +\[lB]website\[rB](http:\[sl]\[sl]example\.com\[sl]) .fi .LP .PP website -.UR http://example.com/ +.UR http:\[sl]\[sl]example\.com\[sl] .UE .LP .nf -[bash](man:bash(1)) +\[lB]bash\[rB](man:bash(1)) .fi .LP .PP .BR bash (1) .LP .nf -Email <bob@example.com> +Email <bob\[at]example\.com> .fi .LP .PP Email -.MT bob@example.com +.MT bob\[at]example\.com .ME .LP .SS LISTS .LP .nf @@ -140,44 +140,44 @@ \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. +> 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 +> \-\-Antoine de Saint\-Exup\['e]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. +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 +\-\-Antoine de Saint\-Exup\['e]ry .RE .LP .SS CODE BLOCKS .LP .nf - #include <stdio.h> + \[sh]include <stdio\.h> int main() - { - printf("hello world\\n"); + \[lC] + printf(\[dq]hello world\en\[dq]); return 0; - } + \[rC] -#include <stdio.h> +\[sh]include <stdio\.h> int main() -{ - printf("hello world\\n"); +\[lC] + printf(\[dq]hello world\en\[dq]); return 0; -} +\[rC] .fi .LP .SH AUTHOR .LP .PP Postmodern -.MT postmodern.mod3@gmail.com +.MT postmodern\.mod3\[at]gmail\.com .ME .LP \ No newline at end of file