-
I'm not sure if I am doing something wrong, need to adjust something, but my custom admonitions are not generating in multi-instance files. I noticed any customized admonitions added to the docusaurus.config.js are not generating in files outside of the /docs folder. It is only generating that content as plain text in tags. These admonitions work just fine in /docs files. Any ideas? I've been trying to figure out if I am not handling something correctly, or if this is a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
have you defined the custom admonitions on the config of the preset + the additional docs plugin? You have to declare it everywhere you plan to use it. As you don't share any config or repro it's impossible for me to be sure you configured your site properly, but it looks like a config issue. I don't know if your screenshots are the actual or expected result either, please add a comment to them or something that can help me figure things out. I'm assuming this is a screenshot of a doc outside the ./docs folder right? Because I don't know either how your custom admonitions should look like :) |
Beta Was this translation helpful? Give feedback.
have you defined the custom admonitions on the config of the preset + the additional docs plugin? You have to declare it everywhere you plan to use it.
As you don't share any config or repro it's impossible for me to be sure you configured your site properly, but it looks like a config issue.
I don't know if your screenshots are the actual or expected result either, please add a comment to them or something that can help me figure things out. I'm assuming this is a screenshot of a doc outside the ./docs folder right? Because I don't know either how your custom admonitions should look like :)