Summary
This version adds support for macros, covering the functionality of the mkdocs-macros-plugin. Macros allow you to define custom variables and functions that can be used in your Markdown files, making it easier to manage and reuse content across your documentation.
We've implemented macros support as a Python Markdown extension, since it's essentially a Markdown preprocessor that doesn't need to be aware of the rest of Zensical's rendering process, except for the current page and configuration. The benefit is that it can now also be used in Python docstrings to build API documentation with mkdocstrings.
Changelog
Features
Bug fixes
- bdc3471 ui – update ui to v0.0.16
- 4be2374 compat – link validation doesn't catch end of MathJax when
\rpresent (#615) - c6cffec compat – link validation exclusions don't catch
\r\nline feeds - 6efe0a3 compat – link validation exclusions require empty line after code block (#618)
- 645bbe8 zensical – clear site directory contents instead of removing it (#621)
- 814d2e9 zensical – link validation yields false positives on Windows (#616)
- b229bac zensical-serve –
zensical servereturns 404 after suspend (#574) - b5492ce compat – shim for
mkdocs-glightboxfails when only defaults are set (#611)