markdown-to-json
markdown-to-json copied to clipboard
🕹️ Convert YAML front-matter in Markdown files to JSON. v0.5.1 is published on NPM. Current version is v0.6.0
I am trying to add a line break in the YAML front-matter markdown, but it seems not to be working. ``` --- # title: Changelog # about: All notable changes...
Please add markdown formats like ``` # Description This is an example file # Authors * Nate Vack * Vendor Packages * docopt * CommonMark-py # Versions ## Version 1...
Currently, I've written a PowerShell script to loop thru all markdown files in a directory and sub-directories and then pass the list of files. Would be great to have a...
**Command used:** ```bash m2j -o index.json -w 0 ./path/*.md ``` **Expected output:** ```json { "files": [ { "basename": "hey-there-delilah" } ] } ``` **Actual output:** ```json { "hey-there-delilah": { "basename":...
I'm not sure I understand how `basename` should be expected to work. For example assuming this structure: ``` root/ root/dir/foo/one.md root/dir/bar/two.md ``` CWD is `root` and I run: ``` shell...
Would be nice to have additional options to control the sorting of the output JSON.