Documentation

This commit is contained in:
squidfunk
2022-04-09 23:33:08 +02:00
parent 5ddeafbf4e
commit 45cacc235f
7 changed files with 25 additions and 13 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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