aboutsummaryrefslogtreecommitdiff
path: root/freebsd/pkg-descr
blob: dfef9a3d8544c8805b7fcf12943e96f534d61afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Pandoc is a command-line tool for converting from one markup format
to another.  It can read markdown and (subsets of) reStructuredText,
HTML, and LaTeX, and it can write markdown, reStructuredText, HTML,
LaTeX, ConTeXt, DocBook, OpenDocument XML, RTF, GNU Texinfo, groff man
pages, and S5 HTML slide shows.

Pandoc extends standard markdown syntax with footnotes, embedded LaTeX,
and other features.  A compatibility mode is provided for those who
need a drop-in replacement for Markdown.pl.  Included wrapper scripts
make it easy to convert markdown documents to PDF or ODT format and to
convert web pages to markdown documents.

In contrast to existing tools for converting markdown to HTML, which
use regex substitutions, pandoc has a modular design: it consists of a
set of readers, which parse text in a given format and produce a native
representation of the document, and a set of writers, which convert
this native representation into a target format. Thus, adding an input
or output format requires only adding a reader or writer.

WWW: http://johnmacfarlane.net/pandoc/