thymeleaf / thymeleaf-docs

Thymeleaf documentation
Apache License 2.0
44 stars 54 forks source link

Change metadata blocks from pandoc_title_block to yaml_metadata_block #16

Closed danielfernandez closed 9 years ago

danielfernandez commented 9 years ago

Currently, all markdown docs add specific metadata by means of the pandoc_title_block markdown extension, which limits it to three items: $title$/$pagetitle$, $author$ and $date$.

Replacing this with the use of the yaml_metadata_block extension should allow us to introduce additional metadata variables, for example a fixed metadata-based version for contributed tutorial translations.

More info on the markdown extensions available for pandoc here: http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html