@unified-myst/break-extension
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@unified-myst/break-extension

Extension to support the MyST block break syntax (+++ {}) in unified.

A MyST block break is equivalent to a CommonMark thematic break, except it allows a inline JSON dictionary to be added after the marker, containing metadata about the block.

For example:

Paragraph 1

+++ {"type": "slide"}

Paragraph 2

TODO

Should the content be enforced as JSON dictionary at parse?

Package Sidebar

Install

npm i @unified-myst/break-extension

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

29.7 kB

Total Files

20

Last publish

Collaborators

  • ebp-bot
  • chrisjsewell