0.0.4 • Published 2 years ago

@unified-myst/break-extension v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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?