From f869f7e08dad315945d52be3fcacf6ff0c05c5c1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 10 May 2013 22:53:35 -0700 Subject: Use new flexible metadata type. * 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. --- data/templates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/templates') diff --git a/data/templates b/data/templates index 05719b649..050ea0fa8 160000 --- a/data/templates +++ b/data/templates @@ -1 +1 @@ -Subproject commit 05719b6491d26aa0fcb6a7de64aeebfc75955267 +Subproject commit 050ea0fa8dc51d1e722f8e88b7ce9a792474082f -- cgit v1.2.3