Writing
How your notes become pages. Write normal Markdown; the build fills in what you leave out (titles, dates, tags). Front matter (Obsidian calls it Properties) is always optional.
- Folders and sections
- Titles
- Dates
- Tags
- Collections
- Categories and ratings
- Links
- Images, audio and video
- Embedding notes
- Tag lists (Dataview)
- Bookmarks
- Posted elsewhere
- Follows, mirrors and forks
- Drafts and hidden pages
- Front matter reference
Folders and sections
- Every
.mdfile is a page; every folder is a section with its own page listing what’s in it. - Top-level folders (
blog/,wiki/, …) appear in the sidebar. Root-level notes are plain pages, outside any section. _index.mdis a folder’s own page: its intro text, shown above the folder’s list and searchable. At the root, it’s the home page. No_index.md? One is generated.- A folder note can be the folder’s page instead: any note with
is-folder-index: truein its front matter, such as Obsidian’sDesign notes/Design notes.md. Its title is its own name, the edit link opens it, and links to it reach the folder’s page. A real_index.mdwins, as does the first flagged note by name; the build warns about the other, which stays a plain page. - An
_index.mdcan carryorder:/pagerSize:/filter:for its list (Configuration). - Folder names show as written (
Design notes, notdesign-notes).
_index.md home
Roadmap.md a root page
blog/_index.md "Blog" intro
blog/2026/20260509-hugo.md a post; date from the name
wiki/Site/_index.md a sub-section's intro, any depth
wiki/Site/Search.md
Sub-folders are for you — organise however you like. Only the top level shapes the navigation.
Titles
First match wins:
title:in front matter- A
# Headingon the first line (blank lines before it are fine) — removed from the body so it isn’t shown twice. A# Headingfurther down stays a heading. Turn this step off withtitleFromHeading. - The file name
Obsidian’s “inline title” is the file name, so a note with neither is titled as it appears in Obsidian.
Dates
Every page gets created and updated. Created, first match wins:
created:(ordate:) in front matter —2026-10-02or2026-10-02T09:30:00+01:00- A date in the file name —
20261002-title.md,2026-10-02-title.md,Title . 20261002.md— or the pathblog/2026/10/02/title.md - The commit that first added the file
- The file’s timestamp
Updated: updated: (or lastmod:), else the last commit touching the file.
Practical upshot: you rarely need to type dates. Git history supplies them. Name posts with a date prefix when the date is part of what they are (a log, a journal); leave reference notes undated and let Git track them.
Obsidian tip: Daily Notes and the Templates plugin can write created: {{date}} for you.
Tags
Two ways, merged into one list:
- Inline:
#hashtaganywhere in the text. Becomes a link to the tag’s page. - Front matter:
tags: [hugo, search]or Obsidian’s Tags property.
Rules:
- Starts with a letter; then letters, digits,
_,-. Shown lower-case. - Not tags: anything in
code, URLs (page#section), links,C#,issue #42. - Obsidian’s nested tags (
#books/fiction) work, and also tag the page with their parents: it shows#booksand#books/fiction, and#bookslists, counts and filters it. A nested tag’s page is/tags/books--fiction/, so don’t also use a literalbooks--fictiontag.
Each tag gets a page (/tags/hugo/), a place in the sidebar cloud, and a filter chip.
Collections
A collection groups pages across folders. Every page is in:
- its top-level folder’s collection (
blog/…→blog; root pages →page), plus - anything in
collections:— a value or a list, plus bookmarks, if it has abookmark:URL.
---
collections: [blog] # filed in posts/, listed under Blog too
---
A top-level section lists every page in its collection, wherever filed: /blog/ shows
posts/hello.md above. Collections without a folder (collections: [recipe]) still
get chips and filters, just no section page. Case doesn’t matter.
Collections vs tags vs categories — rule of thumb:
| Vocabulary | Use for | |
|---|---|---|
| Collection | Your folders, plus a few extras | What kind of thing: post, wiki page, bookmark |
| Category | Closed list in config | A handful of broad subjects |
| Tag | Anything | Topics, as many as you like |
Categories and ratings
---
category: Tech # or categories: [Tech, Personal]
rating: 4 # 1–5
---
Categories must be on the configured list (else ignored, with a build warning). Ratings show as stars and drive Top rated sorting and a minimum-rating filter.
Sticky pages
Tag a page #sticky (or tags: [sticky]) to keep it at the top of every list it’s
in — home, its section, its tags — with a 📌 on its card in place of the #sticky
chip. Sticky pages lead while a list is in its default order, or sorted Newest or
Recently updated; any other sort a reader picks decides alone. Filters still apply, and
search ranks them like any other page but shows the pin. The tag is set by
stickyTag.
Links
Use relative Markdown links — Obsidian writes these with the setup in Setup step 3:
[Search](../wiki/Site/Search.md)
[A post](<2026/20260925 A note with spaces.md>)
[Same, escaped](2026/20260925%20A%20note%20with%20spaces.md)
[A heading](Search.md#facets)
.mdlinks become page links; they also work on GitHub and in any editor.- File names with spaces need
<…>or%20— Obsidian writes%20. [[wikilinks]]are not converted; they show as literal text.- Links to hidden or excluded pages, or to notes that don’t exist, are left as dead links. Check before hiding a page others link to.
Images, audio and video
Obsidian’s image syntax does all three:
 image
 audio player (mp3, m4a, ogg, opus, wav, flac, aac)
 YouTube player (youtu.be links and ?t= work too)
Where files must live, relative to the note:
- Beside it — the same folder, or a subfolder (
attachments/), or - In a top-level folder of files, like
media/.
Anywhere else, the build leaves the link as written and warns. Obsidian’s Default location for new attachments: Same folder as current file handles this — pasted images land beside the note.
No need for one-folder-per-post: blog/20260925-post.md and
blog/Pasted image 20260925.png side by side is fine.
Embedding notes
A note in image syntax, on its own line, embeds its content in a box — as
Obsidian’s ![[note]] does:

- Inline in a sentence, it’s a plain link.
- One level deep: embeds inside an embedded note become links.
- Heading embeds (
page.md#section) are a link for now.
Tag lists (Dataview)
A small subset of Dataview renders on the site, so one block works in both places:
```dataview
LIST FROM [#recipes](/tags/recipes/)
LIMIT 10
```
Lists pages with that tag, recently updated first. LIMIT is optional. Any other
query (TABLE, WHERE, SORT, several tags) shows as a code block on the site — it
still works in Obsidian.
Bookmarks
A page with a bookmark: URL is a bookmark, wherever it lives — it joins the
bookmarks collection and its link shows as a chip.
---
bookmark: https://gohugo.io
tags: [hugo, ssg]
---
Why it's worth reading…
bookmarks: takes a list. The convention: one file per resource under
bookmarks/sites/<domain>/, and pages about bookmarks under bookmarks/wiki/.
A page elsewhere under bookmarks/ without a URL gets a build warning.
Posted elsewhere
Cross-posted? Add the URLs; they show as “Posted on” links:
---
mastodon: https://mastodon.social/@you/1130000
substack:
- https://you.substack.com/p/part-1
- https://you.substack.com/p/part-2
---
Default keys: facebook, twitter, substack, mastodon, github. Add others in
Configuration.
Follows and forks
Tools such as obsidian-publictxt-remotes follow other repos, mirror pages from them and fork pages from them; the site reads what they write.
- A follow is a note in
follows/with the repo’surl(orlocal: true, for a repo with no public URL). The file name is the follow’s name; itsratingis your rating of that repo — the source rating of every page mirrored or forked from it — and itsdescriptiona line about it. Itslicenseis that repo’s content licence (below). The note’s page shows the repository, the rating and links to its mirrored and forked pages; the note itself counts as unrated. - A mirror is a page from a repo you follow, kept as its author wrote it, with
mirror_*keys saying where it came from. Mirrors live in the community folder (community/, orcommunityFolder), in the follow’s mirror folder: itsfolder:, else its name. It shows From — the follow’s name, linked to its note — and ↗ original, as a fork does. Itsrating, if it has one, is its author’s. Mirrors are left out of lists and search until a reader asks for them. Its footer shows its own licence, not yours: itslicense:if its author set one, else the follow’s, else none at all. - A fork is your own page, made from one in a repo you follow, with
fork_*keys saying where it was copied from. It shows Forked from — the follow’s name, linked to its note — and ↗ original: the file it was forked from on GitHub, GitLab or Codeberg; elsewhere the repo; for a local follow, nothing.
---
# follows/ann-notes.md
url: https://github.com/ann/notes
rating: 4
description: Ann's wiki on federation.
license: CC-BY-4.0
---
Why I follow Ann, and what to read there.
A fork keeps its date if it has one of its own — created:, or a date in the file name.
Without one, its date is when it came into your repo, shown as forked date: the
original’s history isn’t in your repo. A mirror is the same, shown as mirrored date.
The mirroring tool points a mirror’s links at where each linked page’s mirror is or would
be, by full path ([b](community/ann-notes/cs/b.md)). A link to a page that wasn’t
mirrored goes to the original instead: at the commit the linking page came from, else
the follow’s branch:, else the repo. A local follow’s stay as written.
A license is a Creative Commons SPDX id (CC-BY-SA-4.0, CC-BY-NC-4.0, CC0-1.0, …),
shown by its name and linked to its deed; a URL, linked; or any other text, shown as is.
A fork is your own page, so it keeps your site’s licence
(params.license) — if the original’s licence is share-alike, that
has to be the same licence or one compatible with it.
A fork whose fork_remote names no follow — the follow was renamed or removed — gets a
build warning (a mirror’s mirror_remote likewise), and shows that name unlinked.
Drafts and hidden pages
---
publish: off # also: false, no, 0
---
- The page isn’t built.
- A folder whose notes are all unpublished keeps its other files (images) off too — so a draft post folder stays fully hidden. Beside a published note, files publish.
- Whole folders:
excludeFolders.
Hidden is not private. The note is still in your public repo, readable on GitHub.
Keep anything truly private out of the repo — a separate vault, or a .gitignored
folder.
Front matter reference
All optional.
| Key | Value | Effect |
|---|---|---|
title | text | Page title (else an H1 on the first line of the body, else file name) |
created / updated | date or date-time | Override Git-derived dates (date / lastmod also read) |
tags | list | Merged with inline #hashtags |
collections | value or list | Extra collections — see Collections |
category / categories | value or list | From the configured list |
rating | 1–5 | Stars; rating sort and filter |
bookmark / bookmarks | URL or list | Makes it a bookmark |
facebook, mastodon, … | URL or list | “Posted on” links |
fork_remote, fork_repo, fork_path, … | written by the forking tool | A fork — see Follows and forks |
mirror_remote, mirror_repo, mirror_path, … | written by the mirroring tool | A mirror — see Follows and forks |
url, local, rating, license in follows/ | repo URL, true, 1–5, licence | A follow, your rating of it, its content licence |
license | SPDX id, URL or text | On a mirror: its licence, over the follow’s — see Follows and forks |
publish | off | Keep off the site |
is-folder-index | true | This note is its folder’s page, in place of _index.md — see Folders and sections |
description | text | The page’s meta description (search engines, link previews) |
order / pagerSize | see config | On _index.md: this folder’s list order and page size |
author, source_repo | text | Kept, not shown yet |
Any other key is kept and ignored — your own Dataview fields are safe. The site
computes source_name, source_rating, source_follow, source_original,
license_name, license_url, follow_name and follow_url itself: written in a note, they are dropped.