Properties and tags
Frontmatter
A note can open with a YAML block, which Obsidian calls properties:
---
aliases:
- JSON spec
- RFC 8259
tags:
- reference
- standards
source: "[[Paper]]"
created: 2026-10-17
done: true
---
# The note starts hereFrontmatter is only recognized on line 1. A --- block further down the note is a
horizontal rule and a paragraph, not properties. A byte-order mark before it is tolerated,
and so are CRLF line endings.
In reading view, frontmatter renders as a properties block at the top of the note. Scoria reads the whole block, and the keys it gives special meaning to are:
| Key | Meaning |
|---|---|
aliases | Other names for this note. Used by the quick switcher, by unlinked mentions and by link completion, which writes [[Note|alias]]. [[alias]] on its own does not find the note |
tags | Tags for this note (see below) |
Every other key is kept and available to property searches
— [status:done], [created:>2026-01-01].
Links in properties are real links. source: "[[Paper]]" produces a backlink in Paper
and an edge in the graph. When Paper is renamed, Scoria rewrites the link text in place
and leaves the rest of your YAML bytes untouched.
Editing properties
In Live Preview the properties block is a typed table you edit in place. Click a key or a
value to open a field — typing, the arrows, Home, End, Backspace and Delete go into it,
Enter commits, Tab commits a key and moves to its value, Escape abandons — and a
commit is one undo step. The row's glyph opens the type menu (text, list, number, checkbox,
date, datetime), the × removes the property, and + Add property opens an unnamed row
that writes nothing until it is named. markdown:add-metadata-property (Ctrl + ;),
markdown:clear-metadata-properties and editor:toggle-fold-properties do the same from a
key, and propertiesInDocument chooses the table, nothing, or the raw YAML.
The File properties pane. properties:open-local puts the open note's properties in the
right dock, as the same table: keys, values, the type menu and + Add property edit there
exactly as in Live Preview, writing the same bytes, in every view mode — reading view and
Source mode included. Running the command again shows the pane rather than making a second
one, and puts the keyboard in it. Escape leaves a field, and a second Escape hands the
keyboard back to the note. In Source mode, where the note shows its YAML, markdown:add-alias
writes the aliases key and puts the caret in the pane's alias field, ready for the first
alias. After 0.7.0 the command works in reading view too: it types into the reading view's own table, unfolding it if
it is folded, and leaves the pane alone; with propertiesInDocument set to hide the table or
show the YAML it uses the pane, as in Source mode. Either way the key is written at once, the
alias when you press Enter or click away, and an empty Enter writes nothing.
With no note open, or a file that is not a note, the pane says No properties found.
Right-click its tab and choose Close, or press Ctrl + W while it has the keyboard, to
close it; the command opens it again. A link in a value previews with Ctrl held, as links in
the side panes do.
What a write touches. Obsidian rewrites the whole frontmatter block on any property
write, which costs you your YAML comments and your flow lists. Scoria writes Obsidian's
canonical form only for the entries whose value actually changed, and compares values
rather than rendered text — so an untouched tags: [one, two] keeps its flow sequence and
its quoting, and every other byte in the block stays where it was. A ratchet test over the
1,005 corpus notes with frontmatter pins that down.
Choosing a type writes .obsidian/types.json, keeping its key order and its unknown keys.
The reading view's table is read-only but for removing a pill and the alias
markdown:add-alias types there (after 0.7.0); Obsidian lets you edit everything there too.
Drag-to-reorder, a calendar picker for date and datetime, and value autocompletion
from other notes are also not here yet.
Tags
A tag can be written two ways, and they mean the same thing:
---
tags:
- project/scoria
- reference
---
Inline, anywhere in the body: #project/scoria #referenceIn the tags property, the # is optional, and the value may be a YAML list or a
comma-separated string (tags: project, reference). Both shapes are accepted.
The Tags pane merges the two sources case-insensitively, so
#Project, #project and tags: [project] are one tag with a count of three.
What counts as a tag
The rules are precise, because # is also a heading marker and appears in URLs. Scoria
matches Obsidian's observed behavior:
- A tag needs at least one non-numeric character.
#2026is not a tag;#q4-2026is. # Headingis not a tag — the space settles it.- A
#after an alphanumeric character is not a tag: the#sectioninpage#sectionis part of the word. - A
#right after whitespace starts a tag. So does a#right after another inline construct:[[link]]#tag,`code`#tag,**bold**#tag, and#a#ball produce tags. - A
#after(does not start a tag. - Tags may contain emoji and any non-ASCII letters.
Nested tags
#project/scoria is a nested tag. It is listed as itself in the Tags pane, and a search for
tag:#project matches it, because a search for a parent tag matches its children. See
search syntax.