diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-28 14:39:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-28 14:39:17 -0700 |
commit | fe625e053d078e03d824a1df746196b8a2c697b1 (patch) | |
tree | 0129bded228d952594d06a8ed675154d05909abc /data/pandoc_markdown.5.template | |
parent | 3e5b4faaf2a99950991ff7b16c0e0b06234b9792 (diff) | |
download | pandoc-fe625e053d078e03d824a1df746196b8a2c697b1.tar.gz |
New method for producing man pages.
This change adds `--man1` and `--man5` options to pandoc, so
pandoc can generate its own man pages.
It removes the old overly complex method of building a separate
executable (but not installing it) just to create the man pages.
The man pages are no longer automatically created in the build
process.
The man/ directory has been removed. The man page templates
have been moved to data/.
New unexported module: Text.Pandoc.ManPages.
Text.Pandoc.Data now exports readmeFile, and `readDataFile`
knows how to find README.
Closes #2190.
Diffstat (limited to 'data/pandoc_markdown.5.template')
-rw-r--r-- | data/pandoc_markdown.5.template | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/pandoc_markdown.5.template b/data/pandoc_markdown.5.template new file mode 100644 index 000000000..6006e90c4 --- /dev/null +++ b/data/pandoc_markdown.5.template @@ -0,0 +1,11 @@ +$if(has-tables)$ +.\"t +$endif$ +.TH PANDOC_MARKDOWN 5 "$date$" "$version$" +.SH NAME +pandoc_markdown - markdown syntax for pandoc(1) +.SH DESCRIPTION +$body$ +.SH SEE ALSO +.PP +\f[C]pandoc\f[] (1). |