forked from github/pelican
wrote unit tests and documentation, improved regular expression. The HtmlReader is enabled by default now and parses metadata in html files of the form: <!-- key:value -->
13 lines
428 B
HTML
13 lines
428 B
HTML
<!-- title: A great html article with metadata -->
|
|
<!-- tags: foo, bar, foobar -->
|
|
<!-- date: 2010-12-02 10:14 -->
|
|
<!-- category: yeah -->
|
|
<!-- author: Alexis Métaireau -->
|
|
<!-- summary:
|
|
Multi-line metadata should be supported
|
|
as well as <strong>inline markup</strong>.
|
|
-->
|
|
<!-- custom_field: http://notmyidea.org -->
|
|
|
|
<h1>This is an article in html with metadata</h1>
|
|
<p>It features very interesting insights.</p>
|