@alterjs/saber-markdown
v0.12.2
Published
A custom build of markdown-it for Saber
Downloads
11
Readme
@alterjs/saber-markdown
A custom build of markdown-it for Saber.
Differences
Implemented via a babel plugin.
Support @
in attribute names
In:
<button @click="foo"></button>
Out:
- <p><button @click="foo"></button></p>\n
+ <p><button @click="foo"></button></p>\n
Support top-level components
In:
<FooBar />
Out:
- <p><FooBar /> hi</p>\n
+ <FooBar /> hi