In the plugin tutorial, I encountered some weird behavior in MyST. I have a lot of blocks in the tutorial that explain how to use a directive like this:
````{code} markdown
:filename: myplugindemo.md
# My demo page
```{mydirective} Not bold
:bold: true
When I build the site with Jupyter Book / MyST, I get a lot of these errors:
It seems that MyST is trying to parse the literal markdown blocks to uncover the directive logic inside. This feels like a bug because we expect those blocks to not be parsed directly as myst.
In the plugin tutorial, I encountered some weird behavior in MyST. I have a lot of blocks in the tutorial that explain how to use a directive like this:
When I build the site with Jupyter Book / MyST, I get a lot of these errors:
It seems that MyST is trying to parse the literal markdown blocks to uncover the directive logic inside. This feels like a bug because we expect those blocks to not be parsed directly as myst.
What works and what doesn't
It seems to be unique to
{code}
and{code-block}
This raises a warning
and
This works fine