mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-06-05 23:12:25 -04:00
Documentation
This commit is contained in:
@@ -302,7 +302,7 @@ When [Metadata] is enabled, the navigation and/or table of contents sidebars
|
||||
can be hidden for a document with custom front matter. Add the following lines
|
||||
at the top of a Markdown file:
|
||||
|
||||
``` bash
|
||||
``` sh
|
||||
---
|
||||
hide:
|
||||
- navigation
|
||||
|
||||
@@ -236,7 +236,7 @@ The following properties must be set for each rating:
|
||||
When [Metadata] is enabled, the [feedback widget] can be hidden for a document
|
||||
with custom front matter. Add the following lines at the top of a Markdown file:
|
||||
|
||||
``` bash
|
||||
``` sh
|
||||
---
|
||||
hide:
|
||||
- feedback
|
||||
|
||||
@@ -316,7 +316,7 @@ When [Metadata] is enabled, pages can be boosted in search with custom front
|
||||
matter, which will make them rank higher. Add the following lines at the top of
|
||||
a Markdown file:
|
||||
|
||||
``` bash
|
||||
``` sh
|
||||
---
|
||||
search:
|
||||
boost: 2 # (1)!
|
||||
@@ -341,7 +341,7 @@ When [Metadata] is enabled, pages can be excluded from search with custom front
|
||||
matter, removing them from the index. Add the following lines at the top of a
|
||||
Markdown file:
|
||||
|
||||
``` bash
|
||||
``` sh
|
||||
---
|
||||
search:
|
||||
exclude: true
|
||||
|
||||
@@ -57,7 +57,7 @@ When both, the [built-in tags plugin] and [Metadata] extension are enabled,
|
||||
tags can be added for a document with custom front matter. Add the following
|
||||
lines at the top of a Markdown file:
|
||||
|
||||
``` bash
|
||||
``` sh
|
||||
---
|
||||
tags:
|
||||
- insiders
|
||||
@@ -113,7 +113,7 @@ While the tags are rendered above the main headline, sometimes, it might be
|
||||
desirable to hide them for a specific page, which can be achieved by using the
|
||||
[Metadata] extension:
|
||||
|
||||
``` bash
|
||||
``` sh
|
||||
---
|
||||
hide:
|
||||
- tags
|
||||
|
||||
Reference in New Issue
Block a user