Blame README.md

Packit dda32d
Pandoc
Packit dda32d
======
Packit dda32d
Packit dda32d
[![github release](https://img.shields.io/github/release/jgm/pandoc.svg?label=current+release)](https://github.com/jgm/pandoc/releases)
Packit dda32d
[![hackage release](https://img.shields.io/hackage/v/pandoc.svg?label=hackage)](http://hackage.haskell.org/package/pandoc)
Packit dda32d
[![homebrew](https://img.shields.io/homebrew/v/pandoc.svg)](http://brewformulas.org/Pandoc)
Packit dda32d
[![stackage LTS package](http://stackage.org/package/pandoc/badge/lts)](http://stackage.org/lts/package/pandoc)
Packit dda32d
[![travis build status](https://img.shields.io/travis/jgm/pandoc/master.svg?label=travis+build)](https://travis-ci.org/jgm/pandoc)
Packit dda32d
[![appveyor build status](https://ci.appveyor.com/api/projects/status/nvqs4ct090igjiqc?svg=true)](https://ci.appveyor.com/project/jgm/pandoc)
Packit dda32d
[![license](https://img.shields.io/badge/license-GPLv2+-lightgray.svg)](https://www.gnu.org/licenses/gpl.html)
Packit dda32d
[![pandoc-discuss on google groups](https://img.shields.io/badge/pandoc-discuss-red.svg?style=social)](https://groups.google.com/forum/#!forum/pandoc-discuss)
Packit dda32d
Packit dda32d
Packit dda32d
The universal markup converter
Packit dda32d
------------------------------
Packit dda32d
Packit dda32d
Pandoc is a [Haskell] library for converting from one markup format to
Packit dda32d
another, and a command-line tool that uses this library. It can read
Packit dda32d
[Markdown], [CommonMark], [PHP Markdown Extra], [GitHub-Flavored
Packit dda32d
Markdown], [MultiMarkdown], and (subsets of) [Textile],
Packit dda32d
[reStructuredText], [HTML], [LaTeX], [MediaWiki markup], [TWiki markup],
Packit dda32d
[TikiWiki markup], [Creole 1.0], [Haddock markup], [OPML], [Emacs Org mode],
Packit dda32d
[DocBook], [JATS], [Muse], [txt2tags], [Vimwiki], [EPUB], [ODT], and
Packit dda32d
[Word docx]; and it can write plain text, [Markdown], [CommonMark], [PHP
Packit dda32d
Markdown Extra], [GitHub-Flavored Markdown], [MultiMarkdown],
Packit dda32d
[reStructuredText], [XHTML], [HTML5], [LaTeX] \(including
Packit dda32d
[`beamer`] slide shows\), [ConTeXt], [RTF], [OPML], [DocBook], [JATS],
Packit dda32d
[OpenDocument], [ODT], [Word docx], [GNU Texinfo], [MediaWiki
Packit dda32d
markup], [DokuWiki markup], [ZimWiki markup], [Haddock markup],
Packit dda32d
[EPUB] \(v2 or v3\), [FictionBook2], [Textile], [groff man],
Packit dda32d
[groff ms], [Emacs Org mode], [AsciiDoc], [InDesign ICML], [TEI
Packit dda32d
Simple], [Muse], [PowerPoint] slide shows and [Slidy], [Slideous],
Packit dda32d
[DZSlides], [reveal.js] or [S5] HTML slide shows. It can also produce
Packit dda32d
[PDF] output on systems where LaTeX, ConTeXt, `pdfroff`, `wkhtmltopdf`,
Packit dda32d
`prince`, or `weasyprint` is installed.
Packit dda32d
Packit dda32d
Pandoc's enhanced version of Markdown includes syntax for [footnotes],
Packit dda32d
[tables], flexible [ordered lists], [definition lists], [fenced code
Packit dda32d
blocks], [superscripts and subscripts], [strikeout], [metadata blocks],
Packit dda32d
automatic tables of contents, embedded LaTeX [math], [citations], and
Packit dda32d
[Markdown inside HTML block elements](#extension-markdown_in_html_blocks).
Packit dda32d
(These enhancements, described further under
Packit dda32d
[Pandoc's Markdown], can be disabled using the `markdown_strict` input
Packit dda32d
or output format.)
Packit dda32d
Packit dda32d
In contrast to most existing tools for converting Markdown to HTML, which
Packit dda32d
use regex substitutions, pandoc has a modular design: it consists of a
Packit dda32d
set of readers, which parse text in a given format and produce a native
Packit dda32d
representation of the document, and a set of writers, which convert
Packit dda32d
this native representation into a target format. Thus, adding an input
Packit dda32d
or output format requires only adding a reader or writer.
Packit dda32d
Packit dda32d
Because pandoc's intermediate representation of a document is less
Packit dda32d
expressive than many of the formats it converts between, one should
Packit dda32d
not expect perfect conversions between every format and every other.
Packit dda32d
Pandoc attempts to preserve the structural elements of a document, but
Packit dda32d
not formatting details such as margin size.  And some document elements,
Packit dda32d
such as complex tables, may not fit into pandoc's simple document
Packit dda32d
model.  While conversions from pandoc's Markdown to all formats aspire
Packit dda32d
to be perfect, conversions from formats more expressive than pandoc's
Packit dda32d
Markdown can be expected to be lossy.
Packit dda32d
Packit dda32d
[Markdown]: http://daringfireball.net/projects/markdown/
Packit dda32d
[CommonMark]: http://commonmark.org
Packit dda32d
[PHP Markdown Extra]: https://michelf.ca/projects/php-markdown/extra/
Packit dda32d
[GitHub-Flavored Markdown]: https://help.github.com/articles/github-flavored-markdown/
Packit dda32d
[MultiMarkdown]: http://fletcherpenney.net/multimarkdown/
Packit dda32d
[reStructuredText]: http://docutils.sourceforge.net/docs/ref/rst/introduction.html
Packit dda32d
[S5]: http://meyerweb.com/eric/tools/s5/
Packit dda32d
[Slidy]: http://www.w3.org/Talks/Tools/Slidy/
Packit dda32d
[Slideous]: http://goessner.net/articles/slideous/
Packit dda32d
[HTML]: http://www.w3.org/html/
Packit dda32d
[HTML5]: http://www.w3.org/TR/html5/
Packit dda32d
[XHTML]: http://www.w3.org/TR/xhtml1/
Packit dda32d
[LaTeX]: http://latex-project.org
Packit dda32d
[`beamer`]: https://ctan.org/pkg/beamer
Packit dda32d
[Beamer User's Guide]: http://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf
Packit dda32d
[ConTeXt]: http://www.contextgarden.net/
Packit dda32d
[RTF]: http://en.wikipedia.org/wiki/Rich_Text_Format
Packit dda32d
[Creole 1.0]: http://www.wikicreole.org/wiki/Creole1.0
Packit dda32d
[DocBook]: http://docbook.org
Packit dda32d
[JATS]: https://jats.nlm.nih.gov
Packit dda32d
[txt2tags]: http://txt2tags.org
Packit dda32d
[EPUB]: http://idpf.org/epub
Packit dda32d
[OPML]: http://dev.opml.org/spec2.html
Packit dda32d
[OpenDocument]: http://opendocument.xml.org
Packit dda32d
[ODT]: http://en.wikipedia.org/wiki/OpenDocument
Packit dda32d
[Textile]: http://redcloth.org/textile
Packit dda32d
[MediaWiki markup]: https://www.mediawiki.org/wiki/Help:Formatting
Packit dda32d
[DokuWiki markup]: https://www.dokuwiki.org/dokuwiki
Packit dda32d
[ZimWiki markup]: http://zim-wiki.org/manual/Help/Wiki_Syntax.html
Packit dda32d
[TWiki markup]: http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules
Packit dda32d
[Haddock markup]: https://www.haskell.org/haddock/doc/html/ch03s08.html
Packit dda32d
[groff man]: http://man7.org/linux/man-pages/man7/groff_man.7.html
Packit dda32d
[groff ms]: http://man7.org/linux/man-pages/man7/groff_ms.7.html
Packit dda32d
[Haskell]: https://www.haskell.org
Packit dda32d
[GNU Texinfo]: http://www.gnu.org/software/texinfo/
Packit dda32d
[Emacs Org mode]: http://orgmode.org
Packit dda32d
[AsciiDoc]: http://www.methods.co.nz/asciidoc/
Packit dda32d
[DZSlides]: http://paulrouget.com/dzslides/
Packit dda32d
[Word docx]: https://en.wikipedia.org/wiki/Office_Open_XML
Packit dda32d
[PDF]: https://www.adobe.com/pdf/
Packit dda32d
[reveal.js]: http://lab.hakim.se/reveal-js/
Packit dda32d
[FictionBook2]: http://www.fictionbook.org/index.php/Eng:XML_Schema_Fictionbook_2.1
Packit dda32d
[InDesign ICML]: https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf
Packit dda32d
[TEI Simple]: https://github.com/TEIC/TEI-Simple
Packit dda32d
[Muse]: https://amusewiki.org/library/manual
Packit dda32d
[PowerPoint]: https://en.wikipedia.org/wiki/Microsoft_PowerPoint
Packit dda32d
[Vimwiki]: https://vimwiki.github.io
Packit dda32d
Packit dda32d
Packit dda32d
Packit dda32d
[footnotes]: http://pandoc.org/MANUAL.html#footnotes
Packit dda32d
[tables]: http://pandoc.org/MANUAL.html#tables
Packit dda32d
[ordered lists]: http://pandoc.org/MANUAL.html#ordered-lists
Packit dda32d
[definition lists]: http://pandoc.org/MANUAL.html#definition-lists
Packit dda32d
[fenced code blocks]: http://pandoc.org/MANUAL.html#fenced-code-blocks
Packit dda32d
[superscripts and subscripts]: http://pandoc.org/MANUAL.html#superscripts-and-subscripts
Packit dda32d
[strikeout]: http://pandoc.org/MANUAL.html#strikeout
Packit dda32d
[metadata blocks]: http://pandoc.org/MANUAL.html#metadata-blocks
Packit dda32d
[math]: http://pandoc.org/MANUAL.html#math
Packit dda32d
[citations]: http://pandoc.org/MANUAL.html#citations
Packit dda32d
[Markdown inside HTML block elements]: http://pandoc.org/MANUAL.html#extension-markdown_in_html_blocks
Packit dda32d
[Pandoc's Markdown]: http://pandoc.org/MANUAL.html#pandocs-markdown
Packit dda32d
Packit dda32d
Installing
Packit dda32d
----------
Packit dda32d
Packit dda32d
Here's [how to install pandoc](INSTALL.md).
Packit dda32d
Packit dda32d
Documentation
Packit dda32d
-------------
Packit dda32d
Packit dda32d
Pandoc's website contains a full [User's Guide](https://pandoc.org/MANUAL.html).
Packit dda32d
It is also available [here](MANUAL.txt) as pandoc-flavored Markdown.
Packit dda32d
The website also contains some [examples of the use of
Packit dda32d
pandoc](https://pandoc.org/demos.html) and a limited [online
Packit dda32d
demo](https://pandoc.org/try).
Packit dda32d
Packit dda32d
Contributing
Packit dda32d
------------
Packit dda32d
Packit dda32d
Pull requests, bug reports, and feature requests are welcome.  Please make
Packit dda32d
sure to read [the contributor guidelines](CONTRIBUTING.md) before opening a
Packit dda32d
new issue.
Packit dda32d
Packit dda32d
Packit dda32d
License
Packit dda32d
-------
Packit dda32d
Packit dda32d
© 2006-2017 John MacFarlane (jgm@berkeley.edu). Released under the
Packit dda32d
[GPL], version 2 or greater.  This software carries no warranty of
Packit dda32d
any kind.  (See COPYRIGHT for full copyright and warranty notices.)
Packit dda32d
Packit dda32d
[GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License"