Skip to content

Releases: frostming/marko

v2.1.2

21 Jun 04:26
7ddd358
Compare
Choose a tag to compare

Changed

  • Update the GFM spec to the latest master branch.
  • Update the CommonMark spec to 0.31.2.

v2.1.1

19 Jun 10:04
ca850b2
Compare
Choose a tag to compare

Fixed

  • Reference link will not render if the reference definition doesn't end with newline.

v2.1.0

13 Jun 01:23
6de4293
Compare
Choose a tag to compare

Changed

  • Drop support of Python 3.7.

v2.0.3

22 Feb 09:24
0963310
Compare
Choose a tag to compare

Fixed

  • Add pretty representation for the AST for debugging purpose. An extra group repr is added for more readable output.
  • Make a dummy Document element if the element to render is not a Document instance.

Full Changelog: v2.0.2...v2.0.3

v2.0.2

16 Nov 06:10
c4adc68
Compare
Choose a tag to compare

Fixed

  • Rewrite the parsing logic of GFM tables.
  • Fixed the dispatching among different renderers for render methods in extensions. Now the GFM renderer supports MarkdownRenderer.

Full Changelog: v2.0.1...v2.0.2

2.0.1

23 Oct 04:53
7035b91
Compare
Choose a tag to compare

Fixed

  • Preserve link references when rendering document as Markdown.

Documentation

  • Fix the sidebar warning in shibuya theme.

v2.0.0

12 Jun 03:58
8a5cff1
Compare
Choose a tag to compare

Note
This major release contains breaking changes to the internal APIs. Read the below for details.
If you are extending Marko, please pay attention. Otherwise, the usage remains unchanged.

Changed

  • Avoid saving to global variables during parsing. There can be multiple parsers running in parallel.
  • Now the children attribute for block elements should be a list of child elements.
  • Move the HTML content of HTMLBlock from children to body attribute.
  • Fixed some built-in extensions that modify class attributes.
  • Add a helper class to create extensions, instead of using arbitrary objects to hold partial properties.

Fixed

  • Call setup_extensions() when running render() method alone.

Full Changelog: v1.3.1...v2.0.0

v1.3.1

09 Jun 08:54
39cabfc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

28 Jan 08:37
6ee5987
Compare
Choose a tag to compare

What's Changed

  • chore: Update pdm.lock by @github-actions in #125
  • feat: drop python 3.7 support, upgrade the syntax by @frostming in #127
  • chore: Update pdm.lock by @github-actions in #129
  • chore: Update pdm.lock by @github-actions in #132
  • chore: Update pdm.lock by @github-actions in #133
  • chore: Update pdm.lock by @github-actions in #134
  • Make strikethrough precedence the default; add strikethrough tests by @KevinMGranger in #136

New Contributors

Full Changelog: v1.2.2...v1.3.0

v1.2.2

22 Sep 01:38
012e2aa
Compare
Choose a tag to compare

What's Changed

  • Fixed ordered list markdown renderer. by @BobMarlon in #112
  • Add workflow to update pdm lockfile by @frostming in #115
  • chore: Update pdm.lock by @github-actions in #117
  • chore: Update pdm.lock by @github-actions in #120
  • fix: crash issue when parsing nbsp in list item by @frostming in #123
  • fix: improve the performance parsing link labels by @frostming in #124

New Contributors

  • @BobMarlon made their first contribution in #112
  • @github-actions made their first contribution in #117

Full Changelog: v1.2.1...v1.2.2