mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 03:56:23 +00:00
dd82ab8d79
* Update Assets.md * expand fix for every /plugins page
1 KiB
1 KiB
title | tags | |
---|---|---|
Frontmatter |
|
This plugin parses the frontmatter of the page using the gray-matter library. See authoring content#Syntax, Obsidian compatibility and OxHugo compatibility for more information.
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
This plugin accepts the following configuration options:
delimiters
: the delimiters to use for the frontmatter. Can have one value (e.g."---"
) or separate values for opening and closing delimiters (e.g.["---", "~~~"]
). Defaults to"---"
.language
: the language to use for parsing the frontmatter. Can beyaml
(default) ortoml
.
Warning
This plugin must not be removed, otherwise Quartz will break.
API
- Category: Transformer
- Function name:
Plugin.Frontmatter()
. - Source:
quartz/plugins/transformers/frontmatter.ts
.