Marko

Latest version: v2.1.2

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

2.0.020230612

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.

1.3.120230609

Fixed

- Fix the unpack error when parsing a fenced code block with `codehilite` extension enabled.

1.3.020230128

- Fix a bug that `Parser.parse_inline()` cannot be called without preceding call of `Parser.parse()`. [131](https://github.com/frostming/marko/issue/131)
- Fix a rendering bug when line breaks exist in a link text. [126](https://github.com/frostming/marko/issue/126)
- Drop support of Python 3.6.
- Update the GFM spec to the latest master branch.
- Fix a precedence issue of parsing strikethroughs in GFM.

1.2.220220922

- Fix a bug of markdown renderer, the ordered list index isn't increasing. [112](https://github.com/frostming/marko/pull/112)
- Fix a crash issue when parsing a list item with NBSP in preceding spaces. [123](https://github.com/frostming/marko/pull/123)
- Fix a hanging issue when parsing a text with nested brackets. [124](https://github.com/frostming/marko/pull/124)

1.2.120220512

- Fix a bug that tabs between the list bullet and item are not expanded properly.
- Upgrade from type comments to Py 3.5+ style annotations.

1.2.020220104

- Forbid delegation to element-specific render methods for AST renderers.
- Add LaTeX renderer to the `marko.ext` namespace.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.