Vault files and formats
File kinds
Scoria classifies every file in the vault by extension:
| Kind | Extensions |
|---|---|
| Note | .md |
| Image | .bmp, .png, .jpg, .jpeg, .gif, .svg, .webp, .avif |
| Audio | .mp3, .wav, .m4a, .3gp, .flac, .ogg, .oga, .opus |
| Video | .mp4, .webm, .ogv, .mov, .mkv |
.pdf | |
| Canvas | .canvas |
| Base | .base |
| Unknown | everything else |
Unknown kinds are hidden in the Files view unless
showUnsupportedFiles is on, and there is nothing to open them with either way.
Only notes go into the metadata cache. In 0.7.0 search reads only notes; after 0.7.0 it also reads the text cards of canvases. Files of the other kinds are tracked, so they appear in Files and can be link targets, and the kinds Scoria can show can be embedded.
File names
Obsidian forbids a set of characters in a file name, and Scoria validates the same set:
* " \ / < > : | ?A name may also not begin with a dot. Vault-relative paths use / and keep their original
case; comparisons between them are case-insensitive.
The .obsidian folder
Every file is optional, every key within it is optional, and keys Scoria does not recognize are carried through untouched.
| File | Scoria |
|---|---|
app.json | Reads and writes — the editor and files settings |
appearance.json | Reads and writes — base theme, accent color, fonts, theme and snippets. The 0.7.0 font size slider writes baseFontSize; after 0.7.0 that key is only read, and the size you set is kept in Scoria's own configuration folder |
hotkeys.json | Reads and writes — your key bindings, rebindable from the Hotkeys tab |
core-plugins.json | Reads and writes — both the modern map and the legacy array shape |
community-plugins.json | Reads and writes the list, and reads each plugin's manifest.json |
types.json | Reads and writes — the property types |
bookmarks.json | Reads and writes — the Bookmarks pane |
workspace.json | Reads and writes — the tab-group tree, the panes' leaf state, lastOpenFiles |
graph.json | Reads and writes — filters, color groups, display settings, forces |
workspaces.json | Reads and writes — saved layouts |
backlink.json, canvas.json, daily-notes.json, file-recovery.json, note-composer.json, page-preview.json, templates.json, webviewer.json, zk-prefixer.json | Reads and writes — each plugin's options. Scoria has no Web viewer, and it acts on the canvas options only after 0.7.0 |
switcher.json | Reads and writes |
command-palette.json | Reads — pinned commands |
themes/, snippets/ | Custom properties read from the chosen theme and enabled snippets; their other CSS is dropped (tier 3) |
plugins/ | Manifests read; plugin code not executed |
A settings write merges the changed values into the file's own JSON and then writes the file
out again, so unknown keys, values that did not change and the file's key order survive. Its
whitespace can change. hotkeys.json, bookmarks.json, workspace.json and
workspaces.json are written whole instead, because removing an entry has to take it out of
the file. Entries Scoria did not touch keep their unknown keys.
See settings.
Which app.json keys are read, and which of them actually change behavior, is the table in
settings.
graph.json
Read to reproduce your graph, and written back about a third of a second after you change an option. If the file exists, the changes are merged into it; if not, Scoria creates it with Obsidian's keys, in Obsidian's order:
| Group | Keys |
|---|---|
| Filters | search, showTags, showAttachments, hideUnresolved, showOrphans |
| Color groups | colorGroups, each {query, color: {a, rgb}} |
| Display and force | Arrows, node size, link thickness, text fade, centre, repel, link force, link distance |
| View | scale, close |
collapse-* keys round-trip.
JSON Canvas
.canvas files are JSON Canvas 1.0. Scoria implements the format:
its fields, z-order by array order, and tab-indented output when writing. A canvas
round-trips through Scoria unchanged.
A .canvas opens in a canvas view of its own in the main area: it pans, zooms, selects,
moves, resizes, draws edges, colors, groups, copies, pastes and undoes, cards are typed
into, and it autosaves through the same writer — the bytes Obsidian writes on an edited
save. The menus, controls and commands are Obsidian's. An embed of a canvas inside a note,
![[Board.canvas]], is the canvas's minimap under its name, as in Obsidian, and a click on it
opens the canvas; a file card on another canvas draws the same picture.
Bases
.base files are Obsidian's Bases format, YAML. Scoria implements the top-level keys and the
recursive filter structure, and round-trips a base file unchanged. A .base opens on its
view — table, cards, list or kanban — with Obsidian's toolbar, and a change made there is
written back in Obsidian's bytes.
A table cell typed into writes the note the row stands for, not the base. Cells can also be worked as a range, as in Obsidian:
| Keys | What they do |
|---|---|
| Shift + arrows | Grow the range from the cursor, inside the cursor's group |
| Shift + click | Run the range from the cursor to the clicked cell |
Ctrl + A | Select every cell of the group |
Ctrl + C | Copy the range as tab-separated text: no header, no trailing newline, a cell holding a tab, a line break or a " in double quotes |
Ctrl + V | Paste over the range: one value fills it, anything larger lands at its top-left corner |
| Delete, Backspace | Empty every cell of the range (key: with no value) |
| Escape | Drop the range and keep the cursor |
A paste of text from elsewhere writes every cell as text, whatever the property's type, as Obsidian does; a paste of the table's own copy keeps the copied types. The name column and formula columns take nothing. Each row is one write to its note, and a note with no frontmatter gets a block. Where Scoria and Obsidian differ here is listed under differences.
What Scoria writes, completely
The whole list:
- A note you edited — on autosave,
Ctrl + S, navigation, mode change or close. Its byte-order mark and line endings are restored as found. - Notes whose links need rewriting after you rename or move a file, when
alwaysUpdateLinksis on or you agree in the Update links prompt. Only the link bytes change. Renaming a heading rewrites the links to it without asking. - Files you create, copy, move or delete, and the notes changed by a command you run. This includes pasted and downloaded attachments, recordings, merged or extracted notes, an inserted block id, frontmatter migration and a restored snapshot. Exports go where you choose.
- A
.trashinforecord and a moved file, when deleting withtrashOption: systemon Linux, or a file moved into.trash/withlocal. - A canvas you edited — on its own autosave, through the JSON Canvas writer above; a base you changed from its toolbar; and the frontmatter of a note whose cells you typed into, pasted over or emptied in a base's table.
- A file under
.obsidian/, when you change something that lives there: a Settings control writes intoapp.json,appearance.json,switcher.json,core-plugins.json,community-plugins.jsonor a core plugin's own file; a rebinding writeshotkeys.json; a property type writestypes.json; a bookmark writesbookmarks.json; the graph's controls writegraph.json; and a saved layout writesworkspaces.json. How each is written is described above. .obsidian/workspace.json, on the way out and only if the session changed the layout: themaintree of tab groups, each pane's own leaf state andlastOpenFiles, with every other key carried through.
Scoria puts no cache, index, sidecar or lock file in the vault. Outside it, its configuration
folder holds scoria.json (the vault list and settings for this computer), recovery snapshots
(file-recovery/), folds (note-fold/), the window zoom (window/) and the custom spelling
dictionary. After 0.7.0, window/ also keeps the text size. The socket Scoria uses to hand a
file to a window that is already open is outside the vault too.
Not a format: Sync and Publish
Obsidian Sync and Obsidian Publish are services, not file formats, and Scoria has nothing to do with either. A vault synced by Obsidian Sync is still a folder, so Scoria opens it; the syncing is Obsidian's doing and Scoria neither helps nor hinders it.