1.0.1
A markdown to JSON tree converter for deno, based on rusty_markdown
Repository
Current version released
4 years ago
Dependencies
deno.land/x
Versions
markdown-tree
This is a markdown to JSON tree converter for deno, based on rusty_markdown
Example
import { Node } from './mod.ts'
Node.from(`
# This is a markdown string
`)
Result: (converted to plain JSON)
{
"children": [
{
"props": { "type": "heading", "level": 1 },
"children": [
{ "props": { "type": "text", "content": "This is a markdown string" } }
]
}
]
}