mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
63d949f731
A simple metadata parser can be useful in markdown documents. This commit introduces the feature, with the following syntax: --- or ««« at tstart of the document, (optionally) followed by a alphanumeric format identifier followed by key value pairs separated by a colon and a space followed by --- or  Also, adds methods for retrieving the parsed metadata, namely: getMetadata() and getMetadataFormat Closes #260 |
||
---|---|---|
.. | ||
dashes-conflict.html | ||
dashes-conflict.md | ||
embeded-in-output.html | ||
embeded-in-output.md | ||
embeded-two-consecutive-metadata-blocks-different-symbols.html | ||
embeded-two-consecutive-metadata-blocks-different-symbols.md | ||
embeded-two-consecutive-metadata-blocks.html | ||
embeded-two-consecutive-metadata-blocks.md | ||
ignore-metadata.html | ||
ignore-metadata.md | ||
simple-angled-for-method.html | ||
simple-angled-for-method.md | ||
simple-angled-quotes.html | ||
simple-angled-quotes.md | ||
simple-three-dashes.html | ||
simple-three-dashes.md | ||
simple-with-format.html | ||
simple-with-format.md |