UNPKG

markdown-to-json

Version:

Extracts YAML front matter from markdown files to a single JSON string or file.

16 lines (15 loc) 307 B
{ "lottery": { "title": "The Lottery Ticket", "author": "anton", "date": "1893-04-01", "template": "article.jade", "tags": [ "Fiction", "Russian" ], "preview": "Ivan Dmitritch, a …", "iso8601Date": "1893-04-01T00:00:00-08:00", "basename": "lottery" } }