mistletoe-ebp
v0.9 introduces a major API improvement, particularly for block tokens (how they are parsed/stored) and capture of source positions. This allows the majority of the code in myst_parser/block_tokens.py
to be removed, in favour of the upstream implementations.
Breaking changes:
range
field renamed toposition
ASTRenderer
renamed toJsonRenderer
FrontMatter
is stored as an attribute ofDocument
(rather than a child)- source text is now parsed by
Document.read(text)
, instead ofDocument(text)
(@choldgraf this will need to be changed in MyST-NB)