Replies: 3 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Looking a bit more into this, the tooltips seem to all exist, but are at completely wrong locations. I would really love for some input on what could be the issue here and if there is a possible fix. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I want to mention that I still do have this problem, and I cannot quite get why it happens the way it does here... So any ideas on what the cause might be and possible fixes - if any - would be greatly apreciated. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I encountered an interesting behaviour with the better tooltip feature of Material for MkDocs.
I use the macros plugin for MkDocs to insert macros I made. One such macro is named
game.info
and inserts an inline admonition box with a table containing info...The content is also send through a
markdown.Markdown(...)
instance to parse markdown and apply changes from extensions.One extension used is abbr to add abbreviations. What is now interesting is the fact that the abbreviation is applied to the matching text - which in this case is a version, which should display its release date - but no title is displayed anymore on hover. Not with the better tooltip, nor with the default title from the browser.
Is there any possible fix here to get better tooltip to work here, or at the very least have the default title displayed again?
For some extra context, the markdown instance I mentioned is done in a separate macro, so that I can reuse it where necessary.
Here is the simple code:
I assume I may need to somehow apply mkdocs-material to the Markdown instance to have the feature applied properly?
Beta Was this translation helpful? Give feedback.
All reactions