Files
plainleaf/website/YAML.md
T
Zef Hemel 2ac30edb2f Update configuration documentation and remove deprecated templates
- Enhanced the `Config.md` documentation to clarify built-in configuration options and the use of the `config.set` API.
- Removed outdated `Page Template.md` and `Slash Template.md` files to streamline documentation and avoid confusion.
- Updated references in various documentation files to reflect the removal of deprecated templates and ensure consistency across the site.
2025-04-17 11:55:09 +02:00

26 lines
721 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
YAML stands for “YAML Ain’t Markup Language.” More information can be found at [the YAML website](https://yaml.org/).
SilverBullet uses YAML in various contexts, specifically [[Frontmatter]].
# Internal links
Many string values can be written directly in YAML without any quoting, like:
```yaml
property: value
```
However when you want to reference [[Links|a page]] you will need to quote the full link:
```yaml
some page: "[[Pages]]"
list of pages:
- "[[Pages]]"
- "[[Links]]"
```
This is because the square brackets used in the internal link format have a meaning in YAML as well. So an unquoted link is parsed as list inside a list:
```yaml
some page: [[Pages]]
equivalent yaml: [
[ "Pages" ]
]
```