- Notifications
You must be signed in to change notification settings - Fork0
streamich/md-mdast
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- Markdown toMDAST converter.
- Small and fast.
- No dependencies.
npm install md-mdast
const{create}=require('md-mdast');constparser=create();console.log(parser.tokenizeBlock('*hello* __world__'));
Result:
{ type: 'root', children: [ { type: 'paragraph', children: [ { type: 'emphasis', children: [ { type: 'text', value: 'hello' } ] }, { type: 'text', value: ' ' }, { type: 'strong', children: [ { type: 'text', value: 'world' } ] } ] } ],}Unlicense — public domain.
About
Fast tiny Markdown to MDAST parser
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.