Mau

Latest version: v4.0.1

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

Scan your dependencies

Page 2 of 3

3.0.0

=============

This is a major rewrite of the Mau engine that introduces some incompatibilities with the syntax of Mau 2.x. Please check the documentation for more details.
The source code now contains a basic visitor that returns the AST and a Jinja visitor which works with any Jinja template. Other visitors are being migrated to plugins that have to be installed separately. The HTML and Markua visitor have been ported from version 2.x, and a PDF Visitor has been added. The AsciiDoctor visitor has been removed.

2.0.3

=============

- [enhancement] Added two new styles: `^caret^` and `~tilde~`. Since in both Markua and AsciiDoctor these are connected with superscript and subscript this has been implemented as the default behaviour of the HTML visitor.

2.0.2

=============

- [fix] Markua footnotes contain an hash that avoids clashes.
- [fix] Markus footnotes end with a newline so they are not rendered on the same line.
- [fix] Resolved issue 4: README updated to reflect the current API.
- [fix] HTML visitor escapes special characters like `&`, `>`, and `<` in verbatim and links.

2.0.1

=============

- [fix] Fixed a bug in the Markua and AsciiDoctor visitors.
- [fix] Fixed the documentation source code

2.0.0

=============

This version contains a huge amount of internal changes, and a good amount of new features. This list shows the most important ones, see the Git history for full details.

- [fix] Fixed automatic links ending with period or comma
- [fix] Fixed management of configuration errors
- [fix] Fixed failing tests of Markua visitor
- [fix] Header anchors preserve dots
- [fix] Image template now properly closes the `img` tag.
- [enhancement] Added support for lexer directives and directive `::include:` to include files.
- [enhancement] Headers support tags that can be filtered in the TOC.
- [enhancement] Added new macro `[class]`, old syntax `[CLASS]text` is still supported but considered deprecated.
- [enhancement] Added the concept of engine, and implemented `raw`, `source`, and `mau` engines porting the code from the relative block types.
- [enhancement] Added initial support for preprocessors.
- [enhancement] Added support for block definitions through `defblock`.
- [enhancement] Moved custom block types (`quote`, `admonition`, and `source`) to block definitions.
- [enhancement] Blocks are now rendered using a set of possible templates, according to the block type and the engine.
- [enhancement] Read custom templates from the configuration file
- [enhancement] Conditional rendering is now a property of blocks.

1.4.1

=============

- [fix] Fixed wrong behaviour of footnotes and links with round brackets
- [fix] Better management of footnotes in the Markua visitor

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.