0.0.11 • Published 8 years ago
quickmark v0.0.11
quickmark
Convert markdown into a JSON representation.
Examples
Input
# Documentation
This is a documentation about the **cool project**.
Output
[
{
type: 'h1',
text: 'Documentation'
},
{
type: 'p',
children: [
{
text: 'This is a documentation about the '
},
{
type: 'strong',
text: 'cool project'
},
{
text: '.'
}
]
}
]