showdown/test/features/metadata
Estevao Soares dos Santos 63d949f731 feat(metadata): add support for embedded metadata
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
2017-12-10 07:15:09 +00:00
..
dashes-conflict.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
dashes-conflict.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
embeded-in-output.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
embeded-in-output.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
embeded-two-consecutive-metadata-blocks-different-symbols.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
embeded-two-consecutive-metadata-blocks-different-symbols.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
embeded-two-consecutive-metadata-blocks.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
embeded-two-consecutive-metadata-blocks.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
ignore-metadata.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
ignore-metadata.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-angled-for-method.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-angled-for-method.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-angled-quotes.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-angled-quotes.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-three-dashes.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-three-dashes.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-with-format.html feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00
simple-with-format.md feat(metadata): add support for embedded metadata 2017-12-10 07:15:09 +00:00