@alterjs/saber-markdown

0.12.2 • 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

2

Version

0.12.2

License

MIT

Unpacked Size

207 kB

Total Files

5

Last publish

Collaborators

  • chawyehsu