Markdown → JSON
Input
252 B
24 lines
Output
721 B
45 lines
Status
ready
live
Ratio
2.86×
out/in
input · markdown
output · json ast
[
{
"type": "frontMatter",
"value": "title: Hello\nauthor: jane"
},
{
"type": "heading",
"level": 1,
"text": "Welcome"
},
{
"type": "paragraph",
"text": "A short paragraph with **bold** and a [link](https://example.com)."
},
{
"type": "heading",
"level": 2,
"text": "Setup"
},
{
"type": "list",
"ordered": false,
"items": [
"install package",
"run dev server",
"open localhost"
]
},
{
"type": "code",
"lang": "js",
"value": "console.log(\"hi\");"
},
{
"type": "blockquote",
"text": "Tip: read the docs first."
},
{
"type": "hr"
},
{
"type": "paragraph",
"text": "End of doc."
}
]