pandoc-1.8.1.1: Conversion between markup formatsSource codeContentsIndex
Text.Pandoc.Readers.Native
Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>
Description
Conversion of a string representation of a pandoc type (Pandoc, [Block], Block, [Inline], or Inline) to a Pandoc document.
Synopsis
readNative :: String -> Pandoc
Documentation
readNativeSource
:: StringString to parse (assuming '\n' line endings)
-> Pandoc

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,

 Str "hi"

will be treated as if it were

 Pandoc (Meta [] [] []) [Plain [Str "hi"]]
Produced by Haddock version 2.6.1