Skip to content

Custom directives #1911

Closed Answered by agoose77
tyl012 asked this question in Q&A
Discussion options

You must be logged in to vote

@tyl012 thanks for opening the discussion!

You can put the admonition.mjs file anywhere, as long as it is ideally in the same folder as myst.yml or some (possibly nested) subfolder. Then, you need to make sure the path to admonition.mjs in your myst.yml#project.plugins is relative to myst.yml.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tyl012
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants