-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
2 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
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]]. | ||
SilverBullet uses YAML in various contexts, specifically [[Frontmatter]] and [[Space Config]] | ||
|
||
# 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]] or [[Command links|command]] 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" ] | ||
] | ||
``` |