-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tags support 馃啎 #2593
Comments
Love it, things to consider:
|
Suggestion: add |
I am getting some warnings in the
Looks like tags is explicitly referencing the page with the html extension instead of using md? |
@rjahern5 thanks for reporting. Could you give me some more details? If you could boil it down to a reproducible case, it's probably a quick fix. Are you using |
@squidfunk yes sir, I just created a small sample project and changed it to true but it is still giving the same issue. I will open a different ticket for it. Incredible feature and thank you! |
@rjahern5 the issue should be fixed in Insiders 2.7.2. |
Is it possible to add Tags to some headers and not whole page? Example, I have some page, which contains ###Header1. And I want to set tag "Deprecated" only for this header. |
@Kanaduchi tags are defined on a page level, so they cannot be set for specific headers. |
@squidfunk can it be considered as a separate enhancement? Such feature can be very useful |
@Kanaduchi how would you imagine this to work, I mean from an authoring perspective? How could the Markdown look? Tags are defined in front matter, which we can only define once per document. |
The latest commit on Insiders addresses the following two ideas by @Stanzilla:
I also adjusted the installation instructions to account for the built-in plugins which need to be installed when cloning from git. Closing this issue. For all subsequent bug reports or feature requests, please open separate discussions or issues. |
EDIT: Tags support is available as of Insiders 2.7.0! Check out the demo or the docs
Sometimes, it might be beneficial to group documents by specific tags, especially in very large codebases. There are some prior discussions on tag support on the MkDocs issue tracker (see below) and there is mkdocs-plugin-tags, which looks abandoned. In general I would consider the following features to provide a good first implementation for tag support:
belowabove the actual content of the documentThis is a sneak peek of how I would imagine tags to work inside search:
Ohne.Titel.mp4
This is how the tags overview page will look:
This will not be an integration of the said plugin, but a standalone integration into Material for MkDocs itself, because I believe for this to be useful, it will need to be integrated deeply (search etc.).
Any feedback is appreciated!
Prior discussions:
The text was updated successfully, but these errors were encountered: