Skip to content

Version 0.5 Ginger House

Compare
Choose a tag to compare
@miyuchina miyuchina released this 09 Jan 03:46
· 511 commits to master since this release

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 serialize FootnoteAnchor.

Where I broke backwards compatibility:

  • BlockToken now has start and read methods, instead of match method. This allows for much more granular control of parsing when defining custom block-level tokens.
  • Heading and SetextHeading are now different token classes, though their renderer functions are still the same.
  • CodeFence and BlockCode are now different token classes, though their renderer functions are still the same.

What has been in my life for the past few weeks:

❄️