aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-28 11:55:11 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-28 12:02:26 -0800
commit8c435578d63b4723789b5d03d36c8da19968af8e (patch)
treef0c937228ad74f775390ee5e5fd6b0b99cefb2a1 /man
parent5ba5373ec66dfbafc16e28320851d70e1be46f80 (diff)
downloadpandoc-8c435578d63b4723789b5d03d36c8da19968af8e.tar.gz
Refactored man pages.
* Markdown syntax description from README now goes in pandoc_markdown.5. * Refactored man page construction functions, putting more of the work in MakeManPages.hs.
Diffstat (limited to 'man')
-rw-r--r--man/man1/pandoc.1.template5
-rw-r--r--man/man5/pandoc_markdown.5.template11
2 files changed, 15 insertions, 1 deletions
diff --git a/man/man1/pandoc.1.template b/man/man1/pandoc.1.template
index 544ef0a97..c9b2b20f8 100644
--- a/man/man1/pandoc.1.template
+++ b/man/man1/pandoc.1.template
@@ -5,9 +5,12 @@ $endif$
.SH NAME
pandoc - general markup converter
$body$
+.SH PANDOC'S MARKDOWN
+For a complete description of pandoc's extensions to standard markdown,
+see \f[C]pandoc_markdown\f[] (5).
.SH SEE ALSO
.PP
-\f[C]markdown2pdf\f[] (1).
+\f[C]markdown2pdf\f[] (1), \f[C]pandoc_markdown\f[] (5).
.PP
The Pandoc source code and all documentation may be downloaded
from <http://johnmacfarlane.net/pandoc/>.
diff --git a/man/man5/pandoc_markdown.5.template b/man/man5/pandoc_markdown.5.template
new file mode 100644
index 000000000..f775a4683
--- /dev/null
+++ b/man/man5/pandoc_markdown.5.template
@@ -0,0 +1,11 @@
+$if(has-tables)$
+.\"t
+$endif$
+.TH PANDOC_MARKDOWN 5 "$date$" "$title$"
+.SH NAME
+pandoc_markdown - markdown syntax for pandoc(1)
+.SH DESCRIPTION
+$body$
+.SH SEE ALSO
+.PP
+\f[C]pandoc\f[] (1).