You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -58,8 +58,6 @@ Alternatively, you can specify tags to render for a page in the front matter.
```
</div>
Tags in `site.json` will take precedence over the ones in the front matter.
<span id="short" class="d-none">
```html
Expand All
@@ -72,4 +70,65 @@ Tags in `site.json` will take precedence over the ones in the front matter.
tags: ["language--java"]
</frontmatter>
```
</span>
</span>
Tags in `site.json` will be merged with the ones in the front matter, and are processed after front matter tags. See [Hiding Tags]({{ baseUrl }}/userGuide/tweakingThePageStructure.html#hiding-tags) for more information.
## Advanced Tagging Tips
### General Tags
You can use a `*` in a tag name to match elements more generally. A `*` in a tag will match any number of characters at its position.
`language--java` is overridden by `-language--*`, so only `language--C#` is shown.
</div>
This only works because tags are processed left to right, so all `language--*` tags are hidden before `language--C#`. Tags in `site.json` are processed after tags in `<frontmatter>`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a class="nav-link py-1" href="#heading-with-nested-keyword">Heading with nested keyword‎</a>
<a class="nav-link py-1" href="#heading-with-hidden-keyword">Heading with hidden keyword‎</a>
<a class="nav-link py-1" href="#div-with-shown-tag">Div with shown tag‎</a>
<a class="nav-link py-1" href="#div-with-shown-2-tag">Div with shown-2 tag‎</a>
<a class="nav-link py-1" href="#div-with-frontmatter-shown-tag">Div with frontmatter shown tag‎</a>
<a class="nav-link py-1" href="#div-with-site-shown-tag">Div with site shown tag‎</a>
<a class="nav-link py-1" href="#div-with-multiple-tags">Div with multiple tags‎</a>
<a class="nav-link py-1" href="#div-with-frontmatter-tag-that-should-be-overriden-by-site-config">Div with frontmatter tag that should be overriden by site config‎</a>
<a class="nav-link py-1" href="#div-with-hidden-tag">Div with hidden tag‎</a>
<a class="nav-link py-1" href="#div-with-hidden-tag-hidden">Div with hidden tag (Hidden)‎</a>
<a class="nav-link py-1" href="#div-with-tag-in-included-file">Div with tag in included file‎</a>
<a class="nav-link py-1" href="#div-with-tag-matching-general-tag">Div with tag matching general tag‎</a>
<a class="nav-link py-1" href="#div-with-tag-matching-general-tag-and-specific-tag-hidden">Div with tag matching general tag and specific tag (Hidden)‎</a>
<a class="nav-link py-1" href="#div-with-tag-matching-front-matter-tag-overridden-by-matching-site-tag">Div with tag matching front matter tag overridden by matching site tag‎</a>
<a class="nav-link py-1" href="#div-with-tag-matching-general-front-matter-tag-not-overridden-by-matching-specific-site-tag-hidden">Div with tag matching general front matter tag not overridden by matching specific site tag (Hidden)‎</a>
<a class="nav-link py-1" href="#div-with-tag-matching-general-front-matter-tag-overridden-by-matching-specific-site-tag">Div with tag matching general front matter tag overridden by matching specific site tag‎</a>
<h1 id="div-with-shown-tag">Div with shown tag<a class="fa fa-anchor" href="#div-with-shown-tag"></a></h1>
<div tags="tag--shown">
<h1 id="div-with-frontmatter-shown-tag">Div with frontmatter shown tag<a class="fa fa-anchor" href="#div-with-frontmatter-shown-tag"></a></h1>
<div tags="tag-frontmatter-shown">
Div with shown tag
</div>
<h1 id="div-with-shown-2-tag">Div with shown-2 tag<a class="fa fa-anchor" href="#div-with-shown-2-tag"></a></h1>
<div tags="tag--shown-2">
Div with shown-2 tag
<h1 id="div-with-site-shown-tag">Div with site shown tag<a class="fa fa-anchor" href="#div-with-site-shown-tag"></a></h1>
<div tags="tag-site-shown">
Div with site shown tag
</div>
<h1 id="div-with-multiple-tags">Div with multiple tags<a class="fa fa-anchor" href="#div-with-multiple-tags"></a></h1>
<div tags="tag--shown tag--other">
<div tags="tag-site-shown tag-other">
Div with multiple tags
</div>
<h1 id="div-with-frontmatter-tag-that-should-be-overriden-by-site-config">Div with frontmatter tag that should be overriden by site config<a class="fa fa-anchor" href="#div-with-frontmatter-tag-that-should-be-overriden-by-site-config"></a></h1>
<h1 id="div-with-hidden-tag-hidden">Div with hidden tag (Hidden)<a class="fa fa-anchor" href="#div-with-hidden-tag-hidden"></a></h1>
<h1 id="div-with-hidden-tag">Div with hidden tag<a class="fa fa-anchor" href="#div-with-hidden-tag"></a></h1>
<div>
<h1 id="div-with-tag-in-included-file">Div with tag in included file<a class="fa fa-anchor" href="#div-with-tag-in-included-file"></a></h1>
<div tags="tag-included-file">
Div with tag in included file
</div>
</div>
<h1 id="div-with-tag-matching-general-tag">Div with tag matching general tag<a class="fa fa-anchor" href="#div-with-tag-matching-general-tag"></a></h1>
<div tags="tag-exp-shown">
Div with tag matching general tag
</div>
<h1 id="div-with-tag-matching-general-tag-and-specific-tag-hidden">Div with tag matching general tag and specific tag (Hidden)<a class="fa fa-anchor" href="#div-with-tag-matching-general-tag-and-specific-tag-hidden"></a></h1>
<h1 id="div-with-tag-matching-front-matter-tag-overridden-by-matching-site-tag">Div with tag matching front matter tag overridden by matching site tag<a class="fa fa-anchor" href="#div-with-tag-matching-front-matter-tag-overridden-by-matching-site-tag"></a></h1>
<div tags="tag-site-override-shown">
Div with tag matching front matter tag overridden by matching site tag
</div>
<h1 id="div-with-tag-matching-general-front-matter-tag-not-overridden-by-matching-specific-site-tag-hidden">Div with tag matching general front matter tag not overridden by matching specific site tag (Hidden)<a class="fa fa-anchor" href="#div-with-tag-matching-general-front-matter-tag-not-overridden-by-matching-specific-site-tag-hidden"></a></h1>
<h1 id="div-with-tag-matching-general-front-matter-tag-overridden-by-matching-specific-site-tag">Div with tag matching general front matter tag overridden by matching specific site tag<a class="fa fa-anchor" href="#div-with-tag-matching-general-front-matter-tag-overridden-by-matching-specific-site-tag"></a></h1>
<div tags="tag-site-override-shown">
Div with tag matching general front matter tag overridden by matching specific site tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"included-heading": "Included Heading | Keyword with included heading",
"heading-with-nested-keyword": "Heading with nested keyword | nested keyword",
"heading-with-hidden-keyword": "Heading with hidden keyword | invisible keyword",
"div-with-shown-tag": "Div with shown tag",
"div-with-shown-2-tag": "Div with shown-2 tag",
"div-with-frontmatter-shown-tag": "Div with frontmatter shown tag",
"div-with-site-shown-tag": "Div with site shown tag",
"div-with-multiple-tags": "Div with multiple tags",
"div-with-frontmatter-tag-that-should-be-overriden-by-site-config": "Div with frontmatter tag that should be overriden by site config",
"div-with-hidden-tag": "Div with hidden tag",
"div-with-hidden-tag-hidden": "Div with hidden tag (Hidden)",
"div-with-tag-in-included-file": "Div with tag in included file",
"div-with-tag-matching-general-tag": "Div with tag matching general tag",
"div-with-tag-matching-general-tag-and-specific-tag-hidden": "Div with tag matching general tag and specific tag (Hidden)",
"div-with-tag-matching-front-matter-tag-overridden-by-matching-site-tag": "Div with tag matching front matter tag overridden by matching site tag",
"div-with-tag-matching-general-front-matter-tag-not-overridden-by-matching-specific-site-tag-hidden": "Div with tag matching general front matter tag not overridden by matching specific site tag (Hidden)",
"div-with-tag-matching-general-front-matter-tag-overridden-by-matching-specific-site-tag": "Div with tag matching general front matter tag overridden by matching specific site tag",
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.