summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Native.hs
Commit message (Collapse)AuthorAge
* Some test suite fixes for new metadata.John MacFarlane2013-06-25
|
* Use new flexible metadata type.John MacFarlane2013-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | * Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this.
* Moved WriterOptions and associated types Shared -> Options.John MacFarlane2012-07-26
|
* Fixed whitespace errors.John MacFarlane2012-07-26
|
* Make sure native output ends in newline with --standalone.John MacFarlane2011-01-21
|
* Haddock comment improvements.John MacFarlane2011-01-21
|
* Native writer: eliminated empty spaces in brackets.John MacFarlane2011-01-20
|
* Improved native writer using Pretty.John MacFarlane2011-01-20
| | | | 2-3X speed improvement and more consistent layout.
* Made writeNative sensitive to writerStandalone.John MacFarlane2011-01-19
| | | | The Pandoc (Meta ...) is not written unless standalone is set.
* Moved Pandoc prettyprinting code from Shared to new Native writer.John MacFarlane2010-07-05
+ Text.Pandoc.Writers.Native + The function prettyPandoc is now gone. Use writeNative instead.