Skip to content

JavaScript loader in collapsed admonition + details #1912

Answered by facelessuser
userdocs asked this question in Q&A
Discussion options

You must be logged in to vote

This has nothing to do with how admonitions or details are generated. There is no bug in either of the plugins related to the problems you are having..

It appears that the drawio plugin expects the diagrams to be specified with links, neither admonitions or details will prevent the links from getting generated in the containers. So that leaves only one possibility, the loader that the drawio plugin links to has difficulty finding and rendering the diagrams in the closed containers. This is the loader: https://github.com/onixpro/mkdocs-drawio-file/blob/main/mkdocs_drawio_file/plugin.py#L67.

Most likely this is an issue with the loader script, and that is probably upstream even from the MkD…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@userdocs
Comment options

@facelessuser
Comment options

@userdocs
Comment options

@facelessuser
Comment options

@userdocs
Comment options

Answer selected by facelessuser
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