parse-md-to-json:用于将markdown文件解析为json的节点脚本

时间:2021-05-13 18:33:00
【文件属性】:
文件名称:parse-md-to-json:用于将markdown文件解析为json的节点脚本
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-13 18:33:00
JavaScript 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
【文件预览】:
parse-md-to-json-master
----config.js(0B)
----manifest.json(0B)
----parseMDtoJSON.js(2KB)
----README.md(933B)
----SUMMARY.md(2KB)

网友评论