What you’ll get
A clean vault folder with no pile of images in the root and automatic link updates on rename:
notes/
├── .obsidian/
│ ├── app.json "Files and links" and editor settings
│ └── types.json vault-wide property types
├── Linux/
│ ├── attachments/ images and PDFs for notes in Linux/
│ ├── New server.md
│ └── SSH keys.md
└── README.md
Settings live inside the vault folder under .obsidian/ and don’t affect any other vault.
Create the vault and set up “Files and links”
Create or open a folder
On the start screen, pick Create new vault (starting from an empty folder) or Open folder as vault (if
.mdfiles already exist, such asdocs/in a repository). Obsidian creates a hidden.obsidian/folder inside.Never nest one vault inside another: links and search in the outer vault pick up notes and
.obsidian/from the inner one, and their settings collide.Change the three main settings
Open Settings (
Ctrl+,), go to “Files and links”, and adjust three options right away, before writing your first notes:- Automatically update internal links — turn on (
alwaysUpdateLinks: true). It’s off by default, so Obsidian prompts on every rename; dismissing the dialog leaves links broken. - Default location for new notes — set to “Same folder as current file” (
newFileLocation: "current"). By default, new notes drop into the vault root even when you’re working insideLinux/. If you prefer sorting everything from one inbox, pick “In the folder specified below” and enter, say,Inbox. - Default location for new attachments — set to “In subfolder under current folder” named
attachments(attachmentFolderPath: "./attachments"), or “In the folder specified below” pointing to a sharedattachmentsfolder at the root. By default, attachments land right in the root beside your notes.
- Automatically update internal links — turn on (
Review the remaining “Files and links” options
The rest of this section works fine out of the box, though it helps to know each setting when behavior changes unexpectedly:
Setting in “Files and links” Key in app.jsonDefault When to change New link format newLinkFormatShortest path when possible ( "shortest")Need explicit paths from the root or current note — switch to “Absolute path in vault” ( "absolute") or “Relative path to file” ("relative")Use [[Wikilinks]]useMarkdownLinkson ( falseinapp.json)Turn off if notes are read on GitHub or in other Markdown editors Detect all file extensions showUnsupportedFilesoff ( false)Turn on if .yml,.conf, or.shfiles sit next to notes and you want to link to themDeleted files trashOptionMove to system trash ( "system")“Move to Obsidian trash (.trash folder)” ( "local") keeps deleted files inside the vault so cloud sync doesn’t lose them across machinesConfirm file deletion promptDeleteon ( true)Leave on Excluded files userIgnoreFiltersempty ( null)Add archive or template folders here so they stay out of search, graph, and autocomplete
Links and backlinks
An internal link connects a note to another note, a heading, or a single paragraph. Type [[ and Obsidian pops up suggestions matching file names and their aliases.
[[SSH keys]] link to a note by file name without .md
[[SSH keys|keys for SSH]] custom link text after |
[[New server#If it doesn't work]] link to a specific heading
[[New server#If it doesn't work|fixes]] heading plus custom text
[[New server#^port-22]] link to a paragraph ending with ^port-22
You don’t need to invent a block ID ahead of time: type [[New server#^, pick the paragraph from the list, and Obsidian appends a short ID to that paragraph and inserts the link. A link to a note that doesn’t exist yet renders fainter; clicking it creates the new file in the folder chosen under “Default location for new notes”.
The Backlinks pane (core plugin, enabled by default) shows two sections for the open note:
- Linked mentions — every note containing
[[This note's name]]. - Unlinked mentions — notes where the file name or an alias appears as plain text; a button beside each match turns it into a link.
Wikilinks vs. Markdown links. Turning off “Use [[Wikilinks]]” (useMarkdownLinks: true) writes new links as standard Markdown: [SSH keys](SSH%20keys.md) and [keys](SSH%20keys.md#How%20to%20check). Obsidian encodes spaces in file names as %20. That format renders on GitHub and in any Markdown editor, though block links #^id still don’t work outside Obsidian.
Properties (YAML frontmatter)
Properties live in a YAML block at the top of the file between two --- lines. By default, the editor renders them as a table (in Settings, under “Editor”, “Properties in document” defaults to “Visible”, propertiesInDocument: "visible"). The Add file property command (Ctrl+;) creates the block if absent and adds a row; typing --- on line one of an empty note does the same.
---
tags:
- linux
- ssh
aliases:
- keys for SSH
- authorized_keys
status: done
updated: 2026-11-24
parent: "[[New server]]"
---
Properties have six types: Text, List, Number, Checkbox, Date, and Date & time. Each property’s type is set once for the entire vault and saved in .obsidian/types.json. Change a property’s type via the icon to the left of its name, and it changes across every note at once.
Obsidian gives three built-in properties special handling — all three use type List:
tags— note tags without#(nested with slashes:linux/ssh).aliases— alternative names for the note. Quick switcher (Ctrl+O), Unlinked mentions, and[[…]]autocomplete all match them; picking an alias inserts[[File name|alias]]automatically.cssclasses— CSS class names applied to the note for styling with custom snippets.
To inspect or fix raw YAML (such as broken quotes), switch “Properties in document” under “Editor” to “Source” ("source"), or toggle Source mode for the current note. Always wrap [[…]] links in quotes in raw YAML — the table editor adds quotes for you.
Attachments and embeds
Obsidian displays images (png, jpg, jpeg, gif, svg, webp, avif, bmp), PDFs, audio (mp3, wav, m4a, ogg, flac, opus, and more), and video (mp4, webm, mov, mkv) right inside notes. Drag a file into the note window or paste from the clipboard (Ctrl+V) — a pasted screenshot saves to your attachments folder with a name like Pasted image 20261124052000.png.
Prefixing a link with ! turns it into an embed, rendering the target inline in the note:
![[network-diagram.png]] full image
![[network-diagram.png|450]] 450 px wide, proportional height
![[network-diagram.png|450x200]] width and height
![[manual.pdf#page=3]] PDF opened on page 3
![[SSH keys#How to check]] embedded section of another note
[[network-diagram.png]] no ! — regular link, opens the file in a tab
Rename pasted screenshots in File explorer right away (for example, from Pasted image …png to network-diagram.png): with automatic link updates on, the link in your note updates itself and the attachments folder stays readable.
If it doesn’t work
Properties at the top of a note turn red: “Invalid properties” / YAML syntax error
- Cause
- Usually a link like
[[Note]]inside YAML lacks quotes — the YAML parser reads double square brackets as a nested list. The second common cause is a blank line or space above the opening---. - Fix
- Switch to Source mode (
Ctrl+Ewon’t do — choose Source mode from the note’s menu) and quote the link:parent: "[[New server]]". Delete anything above the first---line.
A property shows a “Type mismatch” warning icon
- Cause
- Property types apply vault-wide and are stored in
.obsidian/types.json. The new note holds a value of another type — for instance, plain text where the property is already registered as a list or date. - Fix
- Match the value to the type in
.obsidian/types.json, or change the property’s vault-wide type via the icon to the left of its name.tags,aliases, andcssclassesare always type List.
.yml, .conf, or .sh files in the vault folder don’t appear in File explorer
- Cause
- “Detect all file extensions” is off by default (
showUnsupportedFiles: false): Obsidian shows only Markdown, canvases, bases, images, audio, video, and PDFs. - Fix
- In Settings, under “Files and links”, turn on “Detect all file extensions”. Those files then appear in File explorer and Quick switcher, and you can link to them.
You deleted a note, yet its images stayed behind in the attachments folder
- Cause
- Deleting a note in Obsidian removes only the
.mdfile: the app leaves attached images and PDFs alone because another note might still link to them. - Fix
- If the attachment isn’t needed elsewhere, delete it separately in File explorer. Check the Backlinks pane to see whether any other note still links to it.
You turned off “Use [[Wikilinks]]”, yet old links stayed in square brackets
- Cause
- The toggle changes only the format of new links and embeds inserted via autocomplete or drag-and-drop. It does not rewrite existing files.
- Fix
- Update old links manually, with search-and-replace in a code editor, or using a community link-converter plugin. Commit in git before any bulk replacement.
A link to a note suddenly gained a folder path even though it used to be [[Note]]
- Cause
- A second file with the same name appeared in the vault. With “Shortest path when possible” (
newLinkFormat: "shortest"), Obsidian adds the folder once the short name stops being unique. - Fix
- If you don’t need two files with the same name, rename one of them inside Obsidian and short links work again.
How to check
- Create a
Linuxfolder and two notes inside it:New serverandSSH keys. - In
SSH keys, pressCtrl+;, add analiasesproperty withkeys for SSH, and addlinuxundertags. - In
New server, type[[keys— autocomplete should suggestSSH keysvia its alias and insert[[SSH keys|keys for SSH]]. - Paste any image from the clipboard (
Ctrl+V) intoNew serverand verify in File explorer that the file landed inLinux/attachments/(or your chosen attachments folder), not in the vault root. - Rename
SSH keystoServer SSH keysdirectly in the note’s title — Obsidian should update without prompting, and the link inNew servershould immediately change to[[Server SSH keys|keys for SSH]]. - Open
Server SSH keysand check the Backlinks pane —New servershould appear under Linked mentions.