pandoc-2.14.2: Conversion between markup formats
CopyrightCopyright (C) 2010-2012 Paul Rivier
2010-2021 John MacFarlane
LicenseGNU GPL, version 2 or above
MaintainerPaul Rivier <paul*rivier#demotera*com>
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Readers.Textile

Description

Conversion from Textile to Pandoc document, based on the spec available at https://www.promptworks.com/textile/.

Implemented and parsed: - Paragraphs - Code blocks - Lists - blockquote - Inlines : strong, emph, cite, code, deleted, superscript, subscript, links - footnotes - HTML-specific and CSS-specific attributes on headers

Left to be implemented: - dimension sign - all caps - continued blocks (ex bq..)

TODO : refactor common patterns across readers : - more ...

Synopsis

Documentation

readTextile Source #

Arguments

:: (PandocMonad m, ToSources a) 
=> ReaderOptions

Reader options

-> a 
-> m Pandoc 

Parse a Textile text and return a Pandoc document.