Commit Graph

10 Commits

Author SHA1 Message Date
60d290e24f Allow metadata block in the middle of file 2019-04-18 20:58:35 +03:00
Joachim Neu
c81e7a999f Compatibility with Markdown's meta extension 2015-09-26 01:49:24 +02:00
ashander
305ba3eca9 Use BaseLoader to avoid type mapping
In PyYAML tag types are mapped to python types (http://pyyaml.org/wiki/PyYAMLDocumentation#YAMLtagsandPythontypes)

In contrast, in Markdown Meta-Data extension, values are strings (https://pythonhosted.org/Markdown/extensions/meta_data.html).

The BaseLoader class only construct basic Python objects: lists, dictionaries and Unicode strings so will likely perform more as expected.
2015-04-24 16:19:12 -07:00
pR0Ps
27433419bd Formatting cleanup 2014-12-26 13:58:45 -05:00
pR0Ps
7a7e135f2b Slight optimization 2014-12-26 13:57:53 -05:00
pR0Ps
e7db190fca No need to use regexp to compare equality 2014-12-26 13:49:51 -05:00
pR0Ps
667260e324 Force unicode for all strings 2014-12-24 23:37:35 -05:00
Kernc
2aabeb4aae Play along nicely with Markdown's Meta extension 2014-11-25 01:28:49 +01:00
Bernhard Fisseni
91ee1edf9e Fix package name in README and doc string example 2014-07-20 11:27:20 +02:00
Bernhard Fisseni
1ee78f5f62 Initial checkin 2014-07-20 11:15:27 +02:00