JSPM

@unified-myst/break-extension

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q29808F
  • License MIT

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

Package Exports

  • @unified-myst/break-extension

Readme

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