parse-md-to-json
A node script to parse markdown file to json
Getting Started
Simply run parseMDtoJSON with node, change the input sourse file and ouput file in it.
node parseMDtoJSON.js
input:
// Read data from the source md file
var data = fs.readFileSync('./SUMMARY.md');
ouput:
fs.writeFileSync('./manifest.json', JSON.stringify(global_array));
Prerequisites
All you need is to install node
markd
评论0
最新资源