降价列表样式树 json
markdown list-styled tree to json
如何将 markdown 列表样式树解析为 json
例如:在 .md
tree1
- tree2(http://xxxx)
- tree2(http://xxxx)
- tree3(http://xxxx)
another-tree1
我想要的是像json:
这样的解析
[{
name: 'tree1',
link: '',
children: [{...}]
}]
parse list-styled markdown tree to json
如何将 markdown 列表样式树解析为 json
例如:在 .md
tree1
- tree2(http://xxxx)
- tree2(http://xxxx)
- tree3(http://xxxx)
another-tree1
我想要的是像json:
这样的解析[{
name: 'tree1',
link: '',
children: [{...}]
}]
parse list-styled markdown tree to json