| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm install md-mdastconst {create} = require('md-mdast');
const parser = 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.
| Back | FazBrowse Home | New Git URL |