Inline Tags for Insiders Only? #6724
-
Hi there, Are inline tags for insiders only? I tried to implement them using:
or
but neither way was working, nothing renders. I can take an entire page with the tag I want, but I'd like to just tag one section of a page with this tag instead. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello @drahenshaw, mkdocs-material/src/plugins/tags/plugin.py Lines 139 to 143 in 5417afc The Insiders version allows to filter the tags while creating the index, explained in the documentation and with examples. However, I don't think it allows to only tag a section instead of a page 🤔 unless I'm not understanding your request. You can read more about the changes in the new tags plugin here. |
Beta Was this translation helpful? Give feedback.
-
Hi @kamilkrzyskow, |
Beta Was this translation helpful? Give feedback.
Oh, those aren't tags. They're convention shortcodes processed by the
shortcodes.py
hook. You'd have to replicate it yourself.I written a bit more in another answer: #6544 (comment)