pandoc/data/templates
John MacFarlane 1fe9742263 Changes to build with new doctemplates/doclayout.
The new version of doctemplates adds many features to pandoc's
templating system, while remaining backwards-compatible.
New features include partials and filters.  Using template filters,
one can lay out data in enumerated lists and tables.

Templates are now layout-sensitive: so, for example, if a
text with soft line breaks is interpolated near the end of
a line, the text will break and wrap naturally.  This makes
the templating system much more suitable for programatically
generating markdown or other plain-text files from metadata.
2019-10-29 22:21:35 -07:00
..
.github
default.asciidoc Asciidoc template: add :lang: to title header is lang is set in metadata. 2018-11-19 12:02:25 -08:00
default.asciidoctor Asciidoctor writer sets the stem attribute if it contains latexmath 2019-02-09 08:21:53 -08:00
default.commonmark Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.context Add option to include source files in ConTeXt PDFs (#5578) 2019-07-16 09:31:59 -07:00
default.docbook4 Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
default.docbook5 Use new doctemplates, doclayout. 2019-08-25 14:24:31 -07:00
default.dokuwiki
default.dzslides Add partial styles.html in HTML5 template. 2019-09-05 12:39:50 -07:00
default.epub2 EPUB writer: Use svg tag wrapper for cover image. 2019-07-13 15:20:14 -07:00
default.epub3 EPUB writer: Use svg tag wrapper for cover image. 2019-07-13 15:20:14 -07:00
default.haddock
default.html4 Add partial styles.html in HTML5 template. 2019-09-05 12:39:50 -07:00
default.html5 Add partial styles.html in HTML5 template. 2019-09-05 12:39:50 -07:00
default.icml Minor template & test changes for latest dev doctemplates. 2019-10-14 23:42:29 -07:00
default.jats Merge pull request #5604 from jgm/jats-abstract 2019-07-13 16:43:06 -07:00
default.jira Add jira writer (#5548) 2019-06-05 17:52:23 -04:00
default.latex Remove include of grffile from default latex template. 2019-10-29 21:44:08 -07:00
default.man Remove misleading comment in man, ms templates. 2019-07-04 19:26:24 +02:00
default.markdown Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.mediawiki
default.ms Remove misleading comment in man, ms templates. 2019-07-04 19:26:24 +02:00
default.muse Update muse template to handle multiple authors better. 2019-07-28 19:25:44 -07:00
default.opendocument Remove unnecessary indenting of TOC title (#4869) 2018-09-04 09:48:39 -07:00
default.opml
default.org
default.plain Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.revealjs Add partial styles.html in HTML5 template. 2019-09-05 12:39:50 -07:00
default.rst RST writer: use titleblock instead of title variable for title block 2018-08-01 12:32:16 -07:00
default.rtf Use table-of-contents for contents of toc, make toc a boolean. 2017-06-26 16:20:09 +02:00
default.s5 Add partial styles.html in HTML5 template. 2019-09-05 12:39:50 -07:00
default.slideous Add partial styles.html in HTML5 template. 2019-09-05 12:39:50 -07:00
default.slidy Add partial styles.html in HTML5 template. 2019-09-05 12:39:50 -07:00
default.tei TEI template: improve publicationStmt. 2018-08-16 21:19:03 -07:00
default.texinfo Texinfo writer: use @sup and @sub instead of custom macros 2018-06-25 03:14:04 +03:00
default.textile
default.xwiki Add XWiki Support (#4167) 2019-04-02 17:27:02 -06:00
default.zimwiki
README.markdown Add missing copyright notices and remove license boilerplate (#5112) 2019-02-04 13:52:31 -08:00
styles.html Changes to build with new doctemplates/doclayout. 2019-10-29 22:21:35 -07:00

The pandoc-templates repository contains default templates for pandoc.

If you use custom templates, we recommend forking this repository, so that you can integrate changes to the default templates in future pandoc releases.

This repository is a subtree of pandoc; it will be updated each time there is a new pandoc release. However, changes to templates are made first in pandoc; thus, issues and pull requests should be made pandoc's issue tracker rather than here.

All of the templates in this repository are dual licensed, under both the GPL (v2 or higher, same as pandoc) and the BSD 3-clause license (included below).

Copyright (c) 2014--2019, John MacFarlane

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of John MacFarlane nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.