npm.io
0.0.4 • Published 4 years ago

@unified-myst/break-extension

Licence
MIT
Version
0.0.4
Deps
2
Size
29 kB
Vulns
0
Weekly
0
Stars
6

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

Keywords