You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting to myst syntax that requires extensions, it would be good in case the user was made aware of these required extensions somehow.
The description below was my original post, which thought the conversion was buggy because I wasn't aware of the extension colon_fence.
Describe the bug
When converting e.g. a figure directive
.. _fig_intro_workchain_graph:
.. figure:: include/images/basics_workchain_graph.png:scale:30:align:center
Provenance Graph of a basic AiiDA WorkChain.
This gets converted into
(fig-intro-workchain-graph)=
:::{figure} include/images/basics_workchain_graph.png
:scale: 30
:align: center
Provenance Graph of a basic AiiDA WorkChain.
:::
Expected behavior
Doesn't myst-nb need backticks for the directives? I.e. if I convert this into
(fig-intro-workchain-graph)=
```{figure} include/images/basics_workchain_graph.png
:scale: 30:align: centerProvenance Graph of a basic AiiDA WorkChain.```#
This works fine for me.
Similar issues arise for note and important directives (and possibly others that are not in the file I'm converting).
Environment
Python Version [e.g. 3.7.1]: 3.8.6
Package versions or output of jupyter-book --version:
mbercx
changed the title
Some directives convert into :::{<directive>}, not {<directive>} `
Some directives convert into :::{<directive>}, not {<directive>}`
May 15, 2021
mbercx
changed the title
Some directives convert into :::{<directive>}, not {<directive>}`
Notify users in case output syntax requires myst extensions
May 30, 2021
When converting to
myst
syntax that requires extensions, it would be good in case the user was made aware of these required extensions somehow.The description below was my original post, which thought the conversion was buggy because I wasn't aware of the extension
colon_fence
.Describe the bug
When converting e.g. a
figure
directiveThis gets converted into
Expected behavior
Doesn't
myst-nb
need backticks for the directives? I.e. if I convert this intoThis works fine for me.
Similar issues arise for
note
andimportant
directives (and possibly others that are not in the file I'm converting).Environment
jupyter-book --version
:The text was updated successfully, but these errors were encountered: