Version 0.5 Ginger House
Features:
BlockToken
is a hell lot more flexible now;add_token
accepts an additional position argument;- Newlines are now preserved in
Paragraph
tokens.
Fixed:
ASTRenderer
fails to serializeFootnoteAnchor
.
Where I broke backwards compatibility:
BlockToken
now hasstart
andread
methods, instead ofmatch
method. This allows for much more granular control of parsing when defining custom block-level tokens.Heading
andSetextHeading
are now different token classes, though their renderer functions are still the same.CodeFence
andBlockCode
are now different token classes, though their renderer functions are still the same.
What has been in my life for the past few weeks:
❄️