diff --git a/CHANGELOG.md b/CHANGELOG.md index ceccde7b..4acbe60f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## 0.19.2 - 2023-03-02 + +✨ NEW: Add myst_fence_as_directive config () + +Setting the following config, for example: + +```python +extensions = ["myst_parser", "sphinxcontrib.mermaid"] +myst_fence_as_directive = ["mermaid"] +# optional to use directive options +myst_enable_extensions = ["attrs_block"] +``` + +allows for one to write: + +````markdown +{caption="My caption"} +{alt="HTML alt" align=center} +```mermaid +graph LR +a --> b +``` +```` + +and have interoperable rendering with tools like GitHub. + +🎉 New contributors: + +- 📚 Add `html_last_updated_fmt = ""` to conf.py to fix documentation footer, thanks to () +- 📚 Fix the sphinx-design example, thanks to () + ## 0.19.1 - 2023-03-02 🐛 FIX `NoURI` error in doc reference resolution, for texinfo builds () diff --git a/myst_parser/__init__.py b/myst_parser/__init__.py index c5d54145..66d76c72 100644 --- a/myst_parser/__init__.py +++ b/myst_parser/__init__.py @@ -2,7 +2,7 @@ with bridges to [docutils](https://docutils.sourceforge.io/) and [Sphinx](https://github.com/sphinx-doc/sphinx). """ -__version__ = "0.19.1" +__version__ = "0.19.2" def setup(app):