From fe85fde0c515a7ea9ef3a8cc5bf046b5a7b56da3 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Tue, 7 Mar 2023 19:17:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20RELEASE:=20v0.19.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ myst_parser/__init__.py | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) 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):