@alterjs/saber-markdown

0.12.0 • Public • Published

@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>&lt;button @click=&quot;foo&quot;&gt;</button></p>\n
+ <p><button @click="foo"></button></p>\n

Support top-level components

In:

<FooBar />

Out:

- <p><FooBar /> hi</p>\n
+ <FooBar /> hi

Readme

Keywords

none

Package Sidebar

Install

npm i @alterjs/saber-markdown

Weekly Downloads

3

Version

0.12.0

License

MIT

Unpacked Size

95.1 kB

Total Files

4

Last publish

Collaborators

  • chawyehsu