This file is indexed.

/usr/share/doc/libghc-pandoc-doc/html/Text-Pandoc.html is in libghc-pandoc-doc 1.12.2.1-1build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.Pandoc</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-Pandoc.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Pandoc.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">pandoc-1.12.2.1: Conversion between markup formats</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>alpha</td></tr><tr><th>Maintainer</th><td>John MacFarlane &lt;jgm@berkeley.edu&gt;</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Text.Pandoc</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Definitions
</a></li><li><a href="#g:2">Generics
</a></li><li><a href="#g:3">Options
</a></li><li><a href="#g:4">Lists of readers and writers
</a></li><li><a href="#g:5">Readers: converting <em>to</em> Pandoc format
</a></li><li><a href="#g:6">Writers: converting <em>from</em> Pandoc format
</a></li><li><a href="#g:7">Rendering templates and default templates
</a></li><li><a href="#g:8">Version
</a></li><li><a href="#g:9">Miscellaneous
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This helper module exports the main writers, readers, and data
structure definitions from the Pandoc libraries.
</p><p>A typical application will chain together a reader and a writer
to convert strings from one format to another.  For example, the
following simple program will act as a filter converting markdown
fragments to reStructuredText, using reference-style links instead of
inline links:
</p><pre> module Main where
 import Text.Pandoc

 markdownToRST :: String -&gt; String
 markdownToRST =
   (writeRST def {writerReferenceLinks = True}) . readMarkdown def

 main = getContents &gt;&gt;= putStrLn . markdownToRST
</pre><p>Note:  all of the readers assume that the input text has <code>'\n'</code>
line endings.  So if you get your input text from a web form,
you should remove <code>'\r'</code> characters using <code>filter (/='\r')</code>.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short">module <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html">Text.Pandoc.Definition</a></li><li class="src short">module <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Generic.html">Text.Pandoc.Generic</a></li><li class="src short">module <a href="Text-Pandoc-Options.html">Text.Pandoc.Options</a></li><li class="src short"><a href="#v:readers">readers</a> :: [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a>)]</li><li class="src short"><a href="#v:writers">writers</a> :: [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="Text-Pandoc.html#t:Writer">Writer</a>)]</li><li class="src short"><a href="#v:readMarkdown">readMarkdown</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readMediaWiki">readMediaWiki</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readRST">readRST</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readLaTeX">readLaTeX</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readHtml">readHtml</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readTextile">readTextile</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readDocBook">readDocBook</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readOPML">readOPML</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readHaddock">readHaddock</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readNative">readNative</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:readJSON">readJSON</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:Writer">Writer</a> <ul class="subs"><li>= <a href="#v:PureStringWriter">PureStringWriter</a> (<a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)  </li><li>| <a href="#v:IOStringWriter">IOStringWriter</a> (<a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)  </li><li>| <a href="#v:IOByteStringWriter">IOByteStringWriter</a> (<a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)  </li></ul></li><li class="src short"><a href="#v:writeNative">writeNative</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeJSON">writeJSON</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeMarkdown">writeMarkdown</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writePlain">writePlain</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeRST">writeRST</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeLaTeX">writeLaTeX</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeConTeXt">writeConTeXt</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeTexinfo">writeTexinfo</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeHtml">writeHtml</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/libghc-blaze-html-doc/html/Text-Blaze-Html.html#t:Html">Html</a></li><li class="src short"><a href="#v:writeHtmlString">writeHtmlString</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeDocbook">writeDocbook</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeOPML">writeOPML</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeOpenDocument">writeOpenDocument</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeMan">writeMan</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeMediaWiki">writeMediaWiki</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeTextile">writeTextile</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeRTF">writeRTF</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeODT">writeODT</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:writeDocx">writeDocx</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:writeEPUB">writeEPUB</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:writeFB2">writeFB2</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeOrg">writeOrg</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeAsciiDoc">writeAsciiDoc</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:writeCustom">writeCustom</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short">module <a href="Text-Pandoc-Templates.html">Text.Pandoc.Templates</a></li><li class="src short"><a href="#v:pandocVersion">pandocVersion</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:getReader">getReader</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> (<a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a>)</li><li class="src short"><a href="#v:getWriter">getWriter</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> <a href="Text-Pandoc.html#t:Writer">Writer</a></li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-JSON.html#t:ToJSONFilter">ToJSONFilter</a> a =&gt; <a href="#t:ToJsonFilter">ToJsonFilter</a> a  <span class="keyword">where</span><ul class="subs"><li><a href="#v:toJsonFilter">toJsonFilter</a> :: a -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li></ul></li></ul></div><div id="interface"><h1 id="g:1">Definitions
</h1><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html">Text.Pandoc.Definition</a></p></div><h1 id="g:2">Generics
</h1><div class="top"><p class="src">module <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Generic.html">Text.Pandoc.Generic</a></p></div><h1 id="g:3">Options
</h1><div class="top"><p class="src">module <a href="Text-Pandoc-Options.html">Text.Pandoc.Options</a></p></div><h1 id="g:4">Lists of readers and writers
</h1><div class="top"><p class="src"><a name="v:readers" class="def">readers</a> :: [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a>)]<a href="src/Text-Pandoc.html#readers" class="link">Source</a></p><div class="doc"><p>Association list of formats and readers.
</p></div></div><div class="top"><p class="src"><a name="v:writers" class="def">writers</a> :: [(<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>, <a href="Text-Pandoc.html#t:Writer">Writer</a>)]<a href="src/Text-Pandoc.html#writers" class="link">Source</a></p><div class="doc"><p>Association list of formats and writers.
</p></div></div><h1 id="g:5">Readers: converting <em>to</em> Pandoc format
</h1><div class="top"><p class="src"><a name="v:readMarkdown" class="def">readMarkdown</a><a href="src/Text-Pandoc-Readers-Markdown.html#readMarkdown" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a></td><td class="doc"><p>Reader options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse (assuming <code>'\n'</code> line endings)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Read markdown from an input string and return a Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:readMediaWiki" class="def">readMediaWiki</a><a href="src/Text-Pandoc-Readers-MediaWiki.html#readMediaWiki" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a></td><td class="doc"><p>Reader options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse (assuming <code>'\n'</code> line endings)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Read mediawiki from an input string and return a Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:readRST" class="def">readRST</a><a href="src/Text-Pandoc-Readers-RST.html#readRST" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a></td><td class="doc"><p>Reader options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse (assuming <code>'\n'</code> line endings)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Parse reStructuredText string and return Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:readLaTeX" class="def">readLaTeX</a><a href="src/Text-Pandoc-Readers-LaTeX.html#readLaTeX" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a></td><td class="doc"><p>Reader options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse (assumes <code>'\n'</code> line endings)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Parse LaTeX from string and return <code><a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></code> document.
</p></div></div><div class="top"><p class="src"><a name="v:readHtml" class="def">readHtml</a><a href="src/Text-Pandoc-Readers-HTML.html#readHtml" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a></td><td class="doc"><p>Reader options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse (assumes <code>'\n'</code> line endings)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Convert HTML-formatted string to <code><a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></code> document.
</p></div></div><div class="top"><p class="src"><a name="v:readTextile" class="def">readTextile</a><a href="src/Text-Pandoc-Readers-Textile.html#readTextile" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a></td><td class="doc"><p>Reader options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse (assuming <code>'\n'</code> line endings)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Parse a Textile text and return a Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:readDocBook" class="def">readDocBook</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a><a href="src/Text-Pandoc-Readers-DocBook.html#readDocBook" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:readOPML" class="def">readOPML</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a><a href="src/Text-Pandoc-Readers-OPML.html#readOPML" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:readHaddock" class="def">readHaddock</a><a href="src/Text-Pandoc-Readers-Haddock.html#readHaddock" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a></td><td class="doc"><p>Reader options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Parse Haddock markup and return a <code><a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></code> document.
</p></div></div><div class="top"><p class="src"><a name="v:readNative" class="def">readNative</a><a href="src/Text-Pandoc-Readers-Native.html#readNative" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>String to parse (assuming <code>'\n'</code> line endings)
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Read native formatted text and return a Pandoc document.
 The input may be a full pandoc document, a block list, a block,
 an inline list, or an inline.  Thus, for example,
</p><pre> Str &quot;hi&quot;
</pre><p>will be treated as if it were
</p><pre> Pandoc nullMeta [Plain [Str &quot;hi&quot;]]
</pre></div></div><div class="top"><p class="src"><a name="v:readJSON" class="def">readJSON</a> :: <a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a><a href="src/Text-Pandoc.html#readJSON" class="link">Source</a></p></div><h1 id="g:6">Writers: converting <em>from</em> Pandoc format
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Writer" class="def">Writer</a>  <a href="src/Text-Pandoc.html#Writer" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PureStringWriter" class="def">PureStringWriter</a> (<a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:IOStringWriter" class="def">IOStringWriter</a> (<a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:IOByteStringWriter" class="def">IOByteStringWriter</a> (<a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><a name="v:writeNative" class="def">writeNative</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Native.html#writeNative" class="link">Source</a></p><div class="doc"><p>Prettyprint Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:writeJSON" class="def">writeJSON</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc.html#writeJSON" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:writeMarkdown" class="def">writeMarkdown</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Markdown.html#writeMarkdown" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to Markdown.
</p></div></div><div class="top"><p class="src"><a name="v:writePlain" class="def">writePlain</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Markdown.html#writePlain" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to plain text (like markdown, but without links,
 pictures, or inline formatting).
</p></div></div><div class="top"><p class="src"><a name="v:writeRST" class="def">writeRST</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-RST.html#writeRST" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to RST.
</p></div></div><div class="top"><p class="src"><a name="v:writeLaTeX" class="def">writeLaTeX</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-LaTeX.html#writeLaTeX" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to LaTeX.
</p></div></div><div class="top"><p class="src"><a name="v:writeConTeXt" class="def">writeConTeXt</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-ConTeXt.html#writeConTeXt" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to ConTeXt.
</p></div></div><div class="top"><p class="src"><a name="v:writeTexinfo" class="def">writeTexinfo</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Texinfo.html#writeTexinfo" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to Texinfo.
</p></div></div><div class="top"><p class="src"><a name="v:writeHtml" class="def">writeHtml</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/libghc-blaze-html-doc/html/Text-Blaze-Html.html#t:Html">Html</a><a href="src/Text-Pandoc-Writers-HTML.html#writeHtml" class="link">Source</a></p><div class="doc"><p>Convert Pandoc document to Html structure.
</p></div></div><div class="top"><p class="src"><a name="v:writeHtmlString" class="def">writeHtmlString</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-HTML.html#writeHtmlString" class="link">Source</a></p><div class="doc"><p>Convert Pandoc document to Html string.
</p></div></div><div class="top"><p class="src"><a name="v:writeDocbook" class="def">writeDocbook</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Docbook.html#writeDocbook" class="link">Source</a></p><div class="doc"><p>Convert Pandoc document to string in Docbook format.
</p></div></div><div class="top"><p class="src"><a name="v:writeOPML" class="def">writeOPML</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-OPML.html#writeOPML" class="link">Source</a></p><div class="doc"><p>Convert Pandoc document to string in OPML format.
</p></div></div><div class="top"><p class="src"><a name="v:writeOpenDocument" class="def">writeOpenDocument</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-OpenDocument.html#writeOpenDocument" class="link">Source</a></p><div class="doc"><p>Convert Pandoc document to string in OpenDocument format.
</p></div></div><div class="top"><p class="src"><a name="v:writeMan" class="def">writeMan</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Man.html#writeMan" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to Man.
</p></div></div><div class="top"><p class="src"><a name="v:writeMediaWiki" class="def">writeMediaWiki</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-MediaWiki.html#writeMediaWiki" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to MediaWiki.
</p></div></div><div class="top"><p class="src"><a name="v:writeTextile" class="def">writeTextile</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Textile.html#writeTextile" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to Textile.
</p></div></div><div class="top"><p class="src"><a name="v:writeRTF" class="def">writeRTF</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-RTF.html#writeRTF" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to a string in rich text format.
</p></div></div><div class="top"><p class="src"><a name="v:writeODT" class="def">writeODT</a><a href="src/Text-Pandoc-Writers-ODT.html#writeODT" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a></td><td class="doc"><p>Writer options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc"><p>Document to convert
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Produce an ODT file from a Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:writeDocx" class="def">writeDocx</a><a href="src/Text-Pandoc-Writers-Docx.html#writeDocx" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a></td><td class="doc"><p>Writer options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc"><p>Document to convert
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Produce an Docx file from a Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:writeEPUB" class="def">writeEPUB</a><a href="src/Text-Pandoc-Writers-EPUB.html#writeEPUB" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a></td><td class="doc"><p>Writer options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc"><p>Document to convert
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.0.2/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Produce an EPUB file from a Pandoc document.
</p></div></div><div class="top"><p class="src"><a name="v:writeFB2" class="def">writeFB2</a><a href="src/Text-Pandoc-Writers-FB2.html#writeFB2" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a></td><td class="doc"><p>conversion options
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></td><td class="doc"><p>document to convert
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p>FictionBook2 document (not encoded yet)
</p></td></tr></table></div><div class="doc"><p>Produce an FB2 document from a <code><a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></code> document.
</p></div></div><div class="top"><p class="src"><a name="v:writeOrg" class="def">writeOrg</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Org.html#writeOrg" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to Org.
</p></div></div><div class="top"><p class="src"><a name="v:writeAsciiDoc" class="def">writeAsciiDoc</a> :: <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-AsciiDoc.html#writeAsciiDoc" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to AsciiDoc.
</p></div></div><div class="top"><p class="src"><a name="v:writeCustom" class="def">writeCustom</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="Text-Pandoc-Options.html#t:WriterOptions">WriterOptions</a> -&gt; <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc-Writers-Custom.html#writeCustom" class="link">Source</a></p><div class="doc"><p>Convert Pandoc to custom markup.
</p></div></div><h1 id="g:7">Rendering templates and default templates
</h1><div class="top"><p class="src">module <a href="Text-Pandoc-Templates.html">Text.Pandoc.Templates</a></p></div><h1 id="g:8">Version
</h1><div class="top"><p class="src"><a name="v:pandocVersion" class="def">pandocVersion</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a><a href="src/Text-Pandoc.html#pandocVersion" class="link">Source</a></p><div class="doc"><p>Version number of pandoc library.
</p></div></div><h1 id="g:9">Miscellaneous
</h1><div class="top"><p class="src"><a name="v:getReader" class="def">getReader</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> (<a href="Text-Pandoc-Options.html#t:ReaderOptions">ReaderOptions</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a>)<a href="src/Text-Pandoc.html#getReader" class="link">Source</a></p><div class="doc"><p>Retrieve reader based on formatSpec (format+extensions).
</p></div></div><div class="top"><p class="src"><a name="v:getWriter" class="def">getWriter</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Either.html#t:Either">Either</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> <a href="Text-Pandoc.html#t:Writer">Writer</a><a href="src/Text-Pandoc.html#getWriter" class="link">Source</a></p><div class="doc"><p>Retrieve writer based on formatSpec (format+extensions).
</p></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-JSON.html#t:ToJSONFilter">ToJSONFilter</a> a =&gt; <a name="t:ToJsonFilter" class="def">ToJsonFilter</a> a  <span class="keyword">where</span><a href="src/Text-Pandoc.html#ToJsonFilter" class="link">Source</a></p><div class="doc"><p>Deprecated.  Use <code>toJSONFilter</code> from <code>Text.Pandoc.JSON</code> instead.
</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:toJsonFilter" class="def">toJsonFilter</a> :: a -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Text-Pandoc.html#toJsonFilter" class="link">Source</a></p><div class="doc"><div class="warning"><p>Deprecated: Use <code><a href="/usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-JSON.html#v:toJSONFilter">toJSONFilter</a></code> from <code><a href="Text-Pandoc.html#t:JSON">JSON</a></code> instead
</p></div></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>