pelican/pelican
Kernc a206c9132f Add support for YAML metadata in Markdown files
~~Python-Markdown>=2.6 and its meta extension supports YAML headers
and optional `yaml` switch which, when used, parses data with
PyYAML and hence a wee bit different metadata object gets provided.~~
Not anymore.

YAML is supported by python-markdown-yaml-meta-data extension
which uses PyYAML, which returns parsed lists of strings instead
of raw strings, datetime objects instead of string date
representations etc. Pelican needed only slight adjusting, and
now support Jekyll-like YAML headers with aforementioned Markdown
extension.

Related:
* https://github.com/teoric/python-markdown-yaml-meta-data
* https://github.com/getpelican/pelican-plugins/pull/382
* https://github.com/waylan/Python-Markdown/issues/390#issuecomment-76200467
2015-05-27 23:01:16 +02:00
..
tests Merge pull request #1530 from Sethathi/settings_unit_tests 2015-05-21 10:10:37 +02:00
themes fix the meta tags added in #1028 2015-04-08 03:32:48 +02:00
tools Merge pull request #1728 from jonathan-s/stop-server 2015-05-27 08:13:21 -07:00
__init__.py Improve internal error reporting. Fixes #1717. 2015-05-12 02:55:45 +03:00
contents.py Nitpick Content decorators 2015-03-22 12:21:58 +02:00
generators.py Merge pull request #1703 from ingwinlu/remove_tag_cloud 2015-05-13 23:19:24 +02:00
log.py minor spelling fixes 2014-09-15 20:29:00 -04:00
paginator.py Fix Pelican rendering and unit tests on Windows. 2015-01-25 17:42:53 -08:00
readers.py Add support for YAML metadata in Markdown files 2015-05-27 23:01:16 +02:00
rstdirectives.py Fix bug with custom reST :abbr: role. Fixes #949 2014-10-16 07:09:20 -07:00
server.py Make pelican.server importable and use it in fab serve 2015-04-03 18:58:52 -04:00
settings.py remove tag_cloud from core 2015-04-20 12:16:05 +02:00
signals.py Merge pull request #1471 from roidelapluie/master 2015-05-06 13:13:48 +02:00
urlwrappers.py Change URLWrapper.slug to a property 2015-04-16 19:16:23 -04:00
utils.py Add support for YAML metadata in Markdown files 2015-05-27 23:01:16 +02:00
writers.py Remove a couple of unused imports 2015-03-13 23:01:31 -07:00