-
Hi, I want to learn how to change the admonition block in Jupyter Book 2 following the instruction https://next.jupyterbook.org/plugins/directives-and-roles Could anyone please tell me where should I put my own "admonition.mjs" file? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@tyl012 thanks for opening the discussion! You can put the |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the explanation! |
Beta Was this translation helpful? Give feedback.
@tyl012 thanks for opening the discussion!
You can put the
admonition.mjs
file anywhere, as long as it is ideally in the same folder asmyst.yml
or some (possibly nested) subfolder. Then, you need to make sure the path toadmonition.mjs
in yourmyst.yml#project.plugins
is relative tomyst.yml
.