-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to mistletoe-ebp~=0.9.2 (#108)
`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 to `position` - `ASTRenderer` renamed to `JsonRenderer` - `FrontMatter` is stored as an attribute of `Document` (rather than a child) - source text is now parsed by `Document.read(text)`, instead of `Document(text)`
- Loading branch information
1 parent
07c29b7
commit 786d99b
Showing
75 changed files
with
742 additions
and
1,134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.