<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Dan Holloran - obsidian</title>
        <link>https://danholloran.me/posts/topic/obsidian</link>
        <description>Posts on obsidian from Dan Holloran.</description>
        <lastBuildDate>Mon, 30 Nov 2026 18:46:51 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>Dan Holloran - obsidian</title>
            <url>https://danholloran.me/images/favicon-96x96.png</url>
            <link>https://danholloran.me/posts/topic/obsidian</link>
        </image>
        <copyright>© 2026 Dan Holloran</copyright>
        <atom:link href="https://danholloran.me/topic/obsidian/feed.xml" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[Obsidian Highlight Colors: Build a Color Code You Can Search]]></title>
            <link>https://danholloran.me/posts/obsidian-highlight-colors-build-a-color-code-you-can-search</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-highlight-colors-build-a-color-code-you-can-search</guid>
            <pubDate>Tue, 24 Nov 2026 10:15:33 GMT</pubDate>
            <description><![CDATA[Obsidian 1.14 added six native highlight colors. Give each one a meaning and you get a color code that's plain text, searchable, and works on Publish.]]></description>
            <content:encoded><![CDATA[<p>For years, highlighting in Obsidian came in exactly one color: whatever yellow-ish shade your theme picked for <code>==text==</code>. If you wanted more, you installed a plugin that wrapped your text in HTML <code>&lt;mark&gt;</code> tags with inline styles, and your clean Markdown slowly filled up with markup you would never type by hand.</p>
<p>Obsidian 1.14 fixed that with native highlight colors, and the October 27 Publish update brought them to published sites too. The feature itself is small. What makes it worth a post is the syntax Obsidian chose, because it turns a cosmetic feature into something you can build a real annotation system on top of.</p>
<h2 id="the-syntax-is-just-an-emoji" tabindex="-1">The syntax is just an emoji <a class="header-anchor" href="#the-syntax-is-just-an-emoji" aria-label="Permalink to &quot;The syntax is just an emoji&quot;">&ZeroWidthSpace;</a></h2>
<p>A colored highlight is a normal highlight with a color emoji placed right after the opening <code>==</code>:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">==🔴Blocks the release until fixed==</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">==🟠Follow up with design on Friday==</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">==🟡Remember this for the retro==</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">==🟢Confirmed in staging==</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">==🔵See the RFC for background==</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">==🟣Idea: cache this per vault==</span></span></code></pre>
</div><p>That gives you six colors: red, orange, yellow, green, blue, and purple. A highlight without an emoji keeps your theme's default color, so every existing <code>==highlight==</code> in your vault looks exactly the way it did before.</p>
<p>You rarely need to type the emoji yourself. Typing <code>==</code> in the editor now pops up a color suggestion, the formatting menu has a color submenu, and in Live Preview an inline swatch appears whenever your cursor sits inside a highlight. Click the swatch and pick a new color, and Obsidian swaps the emoji for you.</p>
<p>The important part is what <em>isn't</em> there: no HTML, no class names, no plugin-specific markers. The color lives in the text itself. Open the note in VS Code, on GitHub, or in any other Markdown app and you will see <code>==🔴Blocks the release==</code>, which still reads fine. A plugin-era <code>&lt;mark style=&quot;background: #FF5582A6;&quot;&gt;</code> does not.</p>
<h2 id="give-each-color-one-job" tabindex="-1">Give each color one job <a class="header-anchor" href="#give-each-color-one-job" aria-label="Permalink to &quot;Give each color one job&quot;">&ZeroWidthSpace;</a></h2>
<p>Six colors are only useful if each one means something specific. Without a key, you end up with a rainbow that tells future-you nothing. Pick a meaning per color, write it down in a pinned note, and stick to it. Here is a scheme that works well for meeting and project notes:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold">##</span><span class="shk-light-4475b7 shk-light-font-weight-bold shk-dark-99bdea shk-dark-font-weight-bold"> Highlight key</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">-</span><span class="shk-light-1a262c shk-dark-e5e5e5"> ==🔴Blocker== : something that stops work until resolved</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">-</span><span class="shk-light-1a262c shk-dark-e5e5e5"> ==🟠Action== : a follow-up someone owes</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">-</span><span class="shk-light-1a262c shk-dark-e5e5e5"> ==🟡Default== : plain "this matters" (no emoji needed)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">-</span><span class="shk-light-1a262c shk-dark-e5e5e5"> ==🟢Decision== : agreed and final</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">-</span><span class="shk-light-1a262c shk-dark-e5e5e5"> ==🔵Source== : a fact worth citing later</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">-</span><span class="shk-light-1a262c shk-dark-e5e5e5"> ==🟣Idea== : not a task yet, just worth keeping</span></span></code></pre>
</div><p>For reading notes, a different key fits better: blue for definitions, green for claims you agree with, red for claims you want to check, purple for your own reactions. The scheme matters less than having one. Keep it to the colors you actually use, and if you only ever need two, use two.</p>
<h2 id="search-turns-colors-into-queries" tabindex="-1">Search turns colors into queries <a class="header-anchor" href="#search-turns-colors-into-queries" aria-label="Permalink to &quot;Search turns colors into queries&quot;">&ZeroWidthSpace;</a></h2>
<p>Because the color is a literal character in the file, Obsidian's core search can find it with no plugin. Wrap the opening marker in quotes to match it exactly:</p>
<div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>"==🔴"</span></span></code></pre>
</div><p>That returns every note with at least one red highlight. Combine it with the usual search operators to narrow things down:</p>
<div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>"==🟠" path:Meetings</span></span>
<span class="line"><span>"==🟢" tag:#project/atlas</span></span></code></pre>
</div><p>The first finds every open action item from meeting notes, and the second lists every decision on one project. Since 1.15 you can also sort search results by relevance, which helps when a color shows up across hundreds of notes.</p>
<p>If you want the highlighted text itself rather than the notes that contain it, use a regular expression. Obsidian search treats anything between slashes as regex:</p>
<div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>/==🟠[^=]+==/</span></span></code></pre>
</div><p>Expand the results and each match shows the full highlighted phrase, which makes a quick &quot;everything I promised to do&quot; review. Save the query as a bookmark and it becomes a one-click dashboard.</p>
<h2 id="highlights-or-callouts" tabindex="-1">Highlights or callouts? <a class="header-anchor" href="#highlights-or-callouts" aria-label="Permalink to &quot;Highlights or callouts?&quot;">&ZeroWidthSpace;</a></h2>
<p>Both features add color to a note, so it is fair to ask when to use which. The short answer is scope. A callout is a block: it pulls a whole paragraph, list, or warning out of the flow and gives it a title and an icon. A highlight is inline: it marks a few words inside a sentence without breaking the reading rhythm.</p>
<p>Reach for a callout when the content deserves its own box, like a warning before a command or a summary at the top of a note. Reach for a colored highlight when you are annotating, marking the one phrase in a paragraph that is a decision, a blocker, or a citation. They also combine well: a highlight inside a callout works exactly as you would expect.</p>
<h2 id="start-small" tabindex="-1">Start small <a class="header-anchor" href="#start-small" aria-label="Permalink to &quot;Start small&quot;">&ZeroWidthSpace;</a></h2>
<p>You do not need to recolor your whole vault. Update to 1.14 or later, pick two or three colors with clear meanings, and use them in your next week of notes. At the end of the week, run a <code>&quot;==🟠&quot;</code> search and see what you find. If that query earns a bookmark, add another color. The full syntax reference lives in the <a href="https://obsidian.md/help/syntax" target="_blank" rel="noreferrer">Obsidian Help basic formatting page</a>, and the <a href="https://obsidian.md/changelog/2026-10-05-desktop-v1.14.4/" target="_blank" rel="noreferrer">1.14 changelog</a> covers the editor shortcuts.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>markdown</category>
            <category>productivity</category>
            <category>callouts</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-highlight-colors-build-a-color-code-you-can-search.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Sharing an Obsidian Vault With Obsidian Sync: What Actually Works]]></title>
            <link>https://danholloran.me/posts/sharing-an-obsidian-vault-with-obsidian-sync-what-actually-works</link>
            <guid isPermaLink="false">https://danholloran.me/posts/sharing-an-obsidian-vault-with-obsidian-sync-what-actually-works</guid>
            <pubDate>Tue, 17 Nov 2026 10:15:24 GMT</pubDate>
            <description><![CDATA[Obsidian Sync can share a vault with up to 20 people, but there's no live co-editing. Here's how merges, conflicts, and version history behave.]]></description>
            <content:encoded><![CDATA[<p>The first time someone invites you into a shared Obsidian vault, it feels like Google Docs for Markdown. You open a note, start typing, and assume your teammate sees your cursor. They don't. Ten minutes later you both saved different versions of the same meeting notes, and one of you is staring at a paragraph that now appears twice.</p>
<p>Shared vaults in Obsidian Sync are useful, but they are not real-time collaboration. They are file sync with merging. Once you understand that, you can set a vault up so a small team (or a household) rarely trips over each other.</p>
<h2 id="what-a-shared-vault-actually-is" tabindex="-1">What a shared vault actually is <a class="header-anchor" href="#what-a-shared-vault-actually-is" aria-label="Permalink to &quot;What a shared vault actually is&quot;">&ZeroWidthSpace;</a></h2>
<p>Any Sync remote vault can be shared from <strong>Settings → Sync → Remote vault → Manage → Manage sharing</strong>. Enter a collaborator's email and they get access. A few rules from the <a href="https://obsidian.md/help/sync/collaborate" target="_blank" rel="noreferrer">official docs</a> shape everything else:</p>
<ul>
<li><strong>Every collaborator needs their own Sync subscription.</strong> One person paying does not cover the team. Joining a shared vault does not count against the collaborator's own vault limit, though.</li>
<li><strong>Up to 20 collaborators</strong> per vault.</li>
<li><strong>No permission levels.</strong> Everyone gets the same access as the owner, except only the owner can invite people. There is no read-only seat.</li>
<li><strong>The owner's plan sets the file size cap.</strong> On Standard that's 5 MB per file, on Plus it's 200 MB. If the owner is on Standard, a teammate on Plus still can't sync a 20 MB PDF into that vault.</li>
<li><strong>End-to-end encryption still applies.</strong> If the vault is encrypted, each collaborator enters the encryption password on first connect, so you have to share that password out of band.</li>
</ul>
<p>The big one: <strong>no live editing.</strong> You won't see anyone else's cursor, and their changes appear only after Sync uploads them and your device pulls them down.</p>
<h2 id="how-conflicts-get-resolved" tabindex="-1">How conflicts get resolved <a class="header-anchor" href="#how-conflicts-get-resolved" aria-label="Permalink to &quot;How conflicts get resolved&quot;">&ZeroWidthSpace;</a></h2>
<p>A conflict happens when the same file changes on two devices before either syncs. In a shared vault, &quot;two devices&quot; usually means two people. Obsidian handles it differently depending on file type, per the <a href="https://obsidian.md/help/sync/troubleshoot" target="_blank" rel="noreferrer">troubleshooting docs</a>:</p>
<ul>
<li><strong>Markdown notes</strong> are merged with Google's diff-match-patch algorithm.</li>
<li><strong>Everything else, including <code>.canvas</code> files</strong>, uses last-modified-wins. The older edit is simply replaced.</li>
<li><strong>Settings JSON</strong> is merged key by key, with local keys applied on top of remote ones.</li>
</ul>
<p>That canvas rule matters for teams. If two people rearrange the same canvas at once, one person's work silently loses. Treat shared canvases as single-owner files.</p>
<p>Since Obsidian 1.9.7 you can change the Markdown behavior under <strong>Settings → Sync → Conflict resolution</strong>:</p>
<ul>
<li><strong>Automatically merge</strong> (default): keeps every edit but can produce duplicated lines or broken formatting.</li>
<li><strong>Create conflict file</strong>: keeps the remote version in the original note and writes your local changes to a separate file.</li>
</ul>
<p>The conflict file follows a predictable pattern:</p>
<div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>Meeting notes (Conflicted copy MyMacBook2 202611171430).md</span></span></code></pre>
</div><p>For a shared vault, I'd pick <strong>Create conflict file</strong>. A visible extra file is easier to deal with than a duplicated paragraph nobody notices for a week. The catch is that this setting is <strong>per device</strong>. Every collaborator has to change it on every device they use, so put it in your onboarding note.</p>
<p>You can then find conflict copies quickly with a search query:</p>
<div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>file:"Conflicted copy"</span></span></code></pre>
</div><h2 id="structure-the-vault-so-people-rarely-collide" tabindex="-1">Structure the vault so people rarely collide <a class="header-anchor" href="#structure-the-vault-so-people-rarely-collide" aria-label="Permalink to &quot;Structure the vault so people rarely collide&quot;">&ZeroWidthSpace;</a></h2>
<p>Merging is a fallback, not a workflow. The best shared vaults are arranged so two people almost never edit the same file at the same time:</p>
<ul>
<li><strong>Give each person their own daily or scratch folder</strong>, like <code>People/Alex/</code> and <code>People/Sam/</code>, and link out to shared notes instead of editing them for every small thought.</li>
<li><strong>Watch out for notes created on startup.</strong> The docs specifically call out Daily Notes and Templater templates that create files automatically. If a note is created locally and Sync downloads a remote version of the same file within a couple of minutes, Sync keeps the remote copy without merging. A shared <code>Daily/2026-11-17.md</code> that two people's apps create at 9 a.m. is a recipe for lost text. Per-person daily folders avoid it entirely.</li>
<li><strong>Append, don't rewrite.</strong> Meeting notes and logs work well when people add new sections at the bottom rather than editing the same paragraph.</li>
<li><strong>Decide what config to share.</strong> Vault configuration sync covers themes, hotkeys, and core plugin settings by default, but community plugins only sync if you enable <strong>Active community plugin list</strong> and <strong>Installed community plugin list</strong>. In a team, sharing the plugin list keeps everyone's Dataview or Bases views rendering the same. Sharing hotkeys and appearance usually just annoys people, so consider turning those off on each device.</li>
</ul>
<h2 id="use-history-to-answer-who-changed-this" tabindex="-1">Use history to answer &quot;who changed this?&quot; <a class="header-anchor" href="#use-history-to-answer-who-changed-this" aria-label="Permalink to &quot;Use history to answer &quot;who changed this?&quot;&quot;">&ZeroWidthSpace;</a></h2>
<p>Two built-in tools cover the inevitable &quot;where did my paragraph go?&quot; moment. The <strong>Sync history</strong> sidebar (run <em>Sync: Show Sync history</em> from the command palette) lists recently synced files, and on desktop, hovering an item shows who last edited it. Right-click any note and choose <strong>Open version history</strong> to view and restore earlier versions.</p>
<p>Know the retention limits before you rely on it: notes are kept for <strong>1 month on Standard</strong> and <strong>12 months on Plus</strong>, and attachment versions only last <strong>two weeks</strong>. Deleted files can be restored from <strong>Settings → Sync → Deleted files → View</strong>. Local <a href="https://obsidian.md/help/plugins/file-recovery" target="_blank" rel="noreferrer">File recovery</a> snapshots are a separate safety net, but they live on one device and never sync.</p>
<h2 id="the-takeaway" tabindex="-1">The takeaway <a class="header-anchor" href="#the-takeaway" aria-label="Permalink to &quot;The takeaway&quot;">&ZeroWidthSpace;</a></h2>
<p>Obsidian Sync shared vaults work well for a small team that writes in mostly separate files and links between them. They work poorly as a stand-in for live co-editing. Switch conflict handling to conflict files on every device, give people their own folders, keep canvases single-owner, and teach everyone where Sync history lives. If you need true simultaneous editing or read-only access, that's a sign to reach for a different tool, and the <a href="https://obsidian.md/help/sync/collaborate" target="_blank" rel="noreferrer">collaboration docs</a> are worth rechecking since permissions are listed as &quot;not supported yet.&quot;</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>productivity</category>
            <category>workflows</category>
            <category>obsidian-sync</category>
            <enclosure url="https://danholloran.me/images/posts/sharing-an-obsidian-vault-with-obsidian-sync-what-actually-works.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian as Your Default Markdown App: Opening Files Outside the Vault]]></title>
            <link>https://danholloran.me/posts/obsidian-as-your-default-markdown-app-opening-files-outside-the-vault</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-as-your-default-markdown-app-opening-files-outside-the-vault</guid>
            <pubDate>Tue, 10 Nov 2026 10:15:53 GMT</pubDate>
            <description><![CDATA[Obsidian 1.14 can finally open a Markdown file that isn't in a vault. Here's how to make it your default .md app, what works on stray files, and what doesn't.]]></description>
            <content:encoded><![CDATA[<p>For most of Obsidian's life, double-clicking a stray <code>README.md</code> was a small act of betrayal. Obsidian was the best Markdown app on your machine, and it flatly refused to open a Markdown file unless that file lived inside a vault. So the README in a cloned repo, the changelog in a downloaded zip, or the notes file a coworker sent you all went to a text editor, a browser preview, or VS Code. The <a href="https://forum.obsidian.md/t/have-obsidian-be-the-handler-of-md-files-add-ability-to-use-obsidian-as-a-markdown-editor-on-files-outside-vault-file-association/314" target="_blank" rel="noreferrer">feature request</a> asking for this is one of the oldest threads on the forum and runs to nine pages.</p>
<p>Obsidian 1.14 fixes it. The <a href="https://obsidian.md/changelog/2026-10-05-desktop-v1.14.4/" target="_blank" rel="noreferrer">October 5 public release</a> lets you open individual Markdown files from anywhere on disk, register Obsidian as your system's default <code>.md</code> app, and (on macOS) preview Markdown in Finder with Quick Look even when Obsidian is closed. It is desktop only, and there is one catch that will trip up a lot of people, so let's start there.</p>
<h2 id="get-the-new-installer-first" tabindex="-1">Get the New Installer First <a class="header-anchor" href="#get-the-new-installer-first" aria-label="Permalink to &quot;Get the New Installer First&quot;">&ZeroWidthSpace;</a></h2>
<p>The in-app updater is not enough. File associations and the Quick Look extension live in the installer, and the changelog is explicit that opening Markdown files &quot;requires the latest installer.&quot; If you have been accepting in-app updates for months, you are probably on an old installer even though the app itself reports 1.14.</p>
<p>Download a fresh copy from <a href="https://obsidian.md/download" target="_blank" rel="noreferrer">obsidian.md/download</a> and reinstall over the top. Your vaults and settings are untouched. As of 1.14, <strong>Settings → General</strong> also shows a notice when a newer installer is available, so you will know next time without guessing.</p>
<h2 id="three-ways-in" tabindex="-1">Three Ways In <a class="header-anchor" href="#three-ways-in" aria-label="Permalink to &quot;Three Ways In&quot;">&ZeroWidthSpace;</a></h2>
<p>Once you're on the new installer, there are three entry points.</p>
<p><strong>The command palette.</strong> Run <strong>Open file from outside the vault…</strong>, pick a Markdown file, and it opens as a tab in your current window, next to your regular notes. This is the one to bind to a hotkey (<strong>Settings → Hotkeys</strong>, search &quot;outside&quot;) if you read a lot of repo docs.</p>
<p><strong>Open with.</strong> Obsidian now registers itself with the operating system, so it shows up in Finder's or Explorer's <strong>Open with</strong> menu for <code>.md</code> files.</p>
<p><strong>Make it the default.</strong> On macOS, select any <code>.md</code> file in Finder, press <code>Cmd+I</code>, choose Obsidian under <strong>Open with</strong>, and click <strong>Change All…</strong>. On Windows, right-click a Markdown file, choose <strong>Open with → Choose another app</strong>, pick Obsidian, and tick &quot;Always&quot;. If you manage your Mac from dotfiles, the third-party <a href="https://github.com/moretension/duti" target="_blank" rel="noreferrer">duti</a> tool does the same thing from a script:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Make Obsidian the default handler for Markdown (macOS, requires: brew install duti)</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">duti</span><span class="shk-light-337e85 shk-dark-87c4cd"> -s</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> md.obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> net.daringfireball.markdown</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> all</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Confirm it took</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">duti</span><span class="shk-light-337e85 shk-dark-87c4cd"> -x</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> md</span></span></code></pre>
</div><p>Quick Look needs no setup beyond the installer. Select a Markdown file in Finder and press Space to get a rendered preview instead of raw text. From a terminal, <code>qlmanage -p README.md</code> opens the same preview, which is handy for checking a doc before you commit it.</p>
<h2 id="what-works-on-a-file-that-isn-t-in-a-vault" tabindex="-1">What Works on a File That Isn't in a Vault <a class="header-anchor" href="#what-works-on-a-file-that-isn-t-in-a-vault" aria-label="Permalink to &quot;What Works on a File That Isn't in a Vault&quot;">&ZeroWidthSpace;</a></h2>
<p>A stray file is not a vault note, and the release notes are careful about what carries over. The ones you will actually notice:</p>
<ul>
<li><strong>Relative paths resolve from the file's own folder.</strong> Image embeds and links to other local files are resolved relative to the Markdown file, which is exactly how GitHub and most static site generators treat them. A typical repo README renders correctly:</li>
</ul>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold">#</span><span class="shk-light-4475b7 shk-light-font-weight-bold shk-dark-99bdea shk-dark-font-weight-bold"> my-project</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">![</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Architecture diagram</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">](</span><span class="shk-light-337e85 shk-dark-87c4cd">docs/architecture.png</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">See the </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-2e7d32 shk-dark-a9ce93">contributing guide</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">](</span><span class="shk-light-337e85 shk-dark-87c4cd">CONTRIBUTING.md</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-1a262c shk-dark-e5e5e5"> and the</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-2e7d32 shk-dark-a9ce93">API reference</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">](</span><span class="shk-light-337e85 shk-dark-87c4cd">docs/api.md</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-1a262c shk-dark-e5e5e5"> before opening a PR.</span></span></code></pre>
</div><ul>
<li><strong>Outline and Outgoing links work.</strong> The core Outline view gives you a heading tree for long docs, and Outgoing links lists the local files the document points to. For a sprawling <code>docs/</code> folder, that pair is a decent way to navigate.</li>
<li><strong>It is not indexed into your vault.</strong> The file is opened, not imported. Don't expect it in vault search, in backlinks, in the graph, or in a Base. If you want any of that, move the file into the vault.</li>
<li><strong>Clicking an external <code>.md</code> link still uses the OS default.</strong> A <code>file:///</code> link inside one of your notes is handed to whatever app the operating system picks, not the &quot;open from outside&quot; path. A <a href="https://forum.obsidian.md/t/open-external-markdown-file-links-inside-obsidian-instead-of-the-system-default-app/118341" target="_blank" rel="noreferrer">forum request</a> asks to change that; until then, setting Obsidian as the system default is the workaround.</li>
</ul>
<p>The changelog describes all of this as viewing the file in the app. Treat it as a reader for Markdown that lives elsewhere, and keep anything you want to write, link, and query inside the vault where Obsidian can see it.</p>
<h2 id="where-it-fits" tabindex="-1">Where It Fits <a class="header-anchor" href="#where-it-fits" aria-label="Permalink to &quot;Where It Fits&quot;">&ZeroWidthSpace;</a></h2>
<p>This closes a gap rather than changing how a vault works, and that is the right size for it. For developers it means repo docs, design notes, and ADRs render in the same app, with the same theme and CSS snippets, as everything else you read all day. For everyone else it means the &quot;where do I open this .md file&quot; question finally has one answer.</p>
<p>Grab the new installer, set Obsidian as your default for <code>.md</code>, and press Space on the next README you download. If you already script your vault with the <a href="https://danholloran.me/posts/the-obsidian-cli-script-your-vault-from-the-terminal.html">Obsidian CLI</a>, this is the other half: Obsidian is now the Markdown app for files both inside the vault and out.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>markdown</category>
            <category>productivity</category>
            <category>workflows</category>
            <category>obsidian-for-developers</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-as-your-default-markdown-app-opening-files-outside-the-vault.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Maps: Put Your Place Notes on a Map With Bases]]></title>
            <link>https://danholloran.me/posts/obsidian-maps-put-your-place-notes-on-a-map-with-bases</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-maps-put-your-place-notes-on-a-map-with-bases</guid>
            <pubDate>Tue, 03 Nov 2026 10:16:12 GMT</pubDate>
            <description><![CDATA[The official Maps plugin turns any Base into an interactive map. Here's how to structure coordinates, drive marker icons from properties, and avoid setup traps.]]></description>
            <content:encoded><![CDATA[<p>Most vaults are full of places. Restaurants you want to try, apartments you toured, a client's office, the trailhead from last spring, every city you've worked from. They usually live as a folder of notes or a tag, and the only way to answer &quot;what's near here?&quot; is to open each one and squint at an address.</p>
<p>Obsidian's <a href="https://github.com/obsidianmd/obsidian-maps" target="_blank" rel="noreferrer">Maps plugin</a> fixes that without asking you to move anything. It adds a <strong>Map</strong> layout to Bases, so any set of notes a Base can filter, it can also pin. The markers come from your properties, the filters are the same filters you already use, and nothing gets locked into a separate database.</p>
<h2 id="setting-it-up" tabindex="-1">Setting it up <a class="header-anchor" href="#setting-it-up" aria-label="Permalink to &quot;Setting it up&quot;">&ZeroWidthSpace;</a></h2>
<p>Maps is an official plugin from the Obsidian team, but it ships as a <strong>Community plugin</strong>, not a Core one. It needs Obsidian 1.10 or later.</p>
<ol>
<li>Go to Settings → Community plugins → Browse.</li>
<li>Search for <strong>Maps</strong>, then install and enable it.</li>
<li>Open any Base, choose <strong>Add view</strong>, and set the layout to <strong>Map</strong>.</li>
</ol>
<p>On its own, that gives you an empty map. Markers appear only for notes that have a coordinates property, so the real work is in your frontmatter. The plugin accepts either a text property or a two-item list, always latitude first:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">coordinates</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">38.6270, -90.1994</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">icon</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">utensils</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">color</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">orange</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">tags</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> places</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> food</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">visited</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> false</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span></code></pre>
</div><p>The list form works too, and it's what Obsidian's help example uses:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">coordinates</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">38.6270</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">-90.1994</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span></code></pre>
</div><p>Then, in the view settings, point <strong>Marker coordinates</strong> at your <code>coordinates</code> property and add a filter such as <code>file.hasTag(&quot;places&quot;)</code>. Every note that matches shows up as a pin. Click a pin and you get a preview card with that note's properties.</p>
<p>To grab coordinates without leaving Obsidian, right-click a spot on the map and choose <strong>Copy coordinates</strong>. That one shortcut is most of what makes the workflow stick. Paste the value into a property and the pin shows up right away.</p>
<h2 id="let-properties-drive-the-markers" tabindex="-1">Let properties drive the markers <a class="header-anchor" href="#let-properties-drive-the-markers" aria-label="Permalink to &quot;Let properties drive the markers&quot;">&ZeroWidthSpace;</a></h2>
<p>A map where every pin looks the same is only slightly better than a list. The view settings let you choose a property for <strong>marker icons</strong> and one for <strong>marker colors</strong>. Icons use names from the <a href="https://lucide.dev/icons/" target="_blank" rel="noreferrer">Lucide</a> set that Obsidian already bundles (<code>landmark</code>, <code>utensils</code>, <code>tent</code>, <code>building</code>). Colors take any CSS value: a named color, a hex code, <code>rgb()</code>, or a theme variable like <code>var(--color-blue)</code>.</p>
<p>Setting <code>icon</code> on every note gets tedious fast, and this is where Bases formulas come in. The help docs show a nice trick: give each place a <code>type</code> property that links to a category note, and store the icon on the category note instead.</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># In "Restaurants.md"</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">icon</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">utensils</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># In "Corner Taqueria.md"</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">[[Restaurants]]</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">coordinates</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">38.6353, -90.2318</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">tags</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> places</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span></code></pre>
</div><p>Then add a formula property to the Base and pick it as the marker icon. In the <code>.base</code> file it looks like this (or paste just the expression into the formula editor):</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">formulas</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  type_icon</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">list(type)[0].asFile().properties.icon</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span></code></pre>
</div><p>Now changing one category note re-skins every pin of that type. The same pattern works for color, or you can compute color from state. This one turns places you've already been to green and leaves the rest gray:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">formulas</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  visited_color</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">if(visited, "green", "gray")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span></code></pre>
</div><p>If an older batch of notes stores <code>latitude</code> and <code>longitude</code> as separate properties, you don't have to rewrite them. Add a formula property defined as <code>[latitude, longitude]</code> and use that as the marker coordinates.</p>
<p>You can also add a formula that links out to a real mapping app, so the preview card does double duty as directions:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">formulas</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  directions</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">link("https://www.google.com/maps/search/" + file.name.replace(" ", "+"), "Google Maps")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span></code></pre>
</div><h2 id="where-it-earns-its-place-and-where-it-doesn-t" tabindex="-1">Where it earns its place (and where it doesn't) <a class="header-anchor" href="#where-it-earns-its-place-and-where-it-doesn-t" aria-label="Permalink to &quot;Where it earns its place (and where it doesn't)&quot;">&ZeroWidthSpace;</a></h2>
<p>The win isn't the map itself. It's that the map is just another view over notes you already keep. A single <code>Places.base</code> can hold a table for editing, a cards view for browsing, and a map for planning, all sharing one set of filters. Embed the map view in a trip note or a daily note and it updates as you add places. For example, a &quot;Weekend in Chicago&quot; note can embed a view filtered to <code>tags</code> containing <code>chicago</code>. Every place you clip during the week then shows up on the map with no manual upkeep.</p>
<p>A few things to know before you commit:</p>
<ul>
<li><strong>No geocoding.</strong> The plugin won't turn an address into coordinates. You either paste coordinates or add them with a script or another tool. If you have hundreds of address-only notes, budget time for a one-off backfill.</li>
<li><strong>Latitude comes first.</strong> Copying from a GeoJSON source, which uses longitude first, will drop your pins in the ocean. If a marker shows up somewhere odd, check the order before anything else.</li>
<li><strong>Tiles come from the network.</strong> Maps uses <a href="https://openfreemap.org/" target="_blank" rel="noreferrer">OpenFreeMap</a> tiles by default. You can swap in other styles (including a separate dark-mode URL) under Settings → Maps, or self-host with Protomaps, but an offline laptop won't draw the background.</li>
<li><strong>Blank map on first load</strong> usually means an outdated installer. The help docs recommend updating the Obsidian installer, not just the app.</li>
</ul>
<p>If you've been tracking places in a folder and scrolling to find them, start small. Tag ten notes, add coordinates, and build one map view. The <a href="https://obsidian.md/help/bases/views/map" target="_blank" rel="noreferrer">Map view help page</a> covers every setting, and the plugin's <a href="https://github.com/obsidianmd/obsidian-maps/tree/master/examples" target="_blank" rel="noreferrer">example files</a> are worth opening in a scratch vault to see icons and colors already wired up. Once the pins are there, you'll notice how many of your notes were really about a place all along.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>plugins</category>
            <category>workflows</category>
            <category>bases</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-maps-put-your-place-notes-on-a-map-with-bases.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Bases Formulas: Computed Columns Your Notes Never Have to Store]]></title>
            <link>https://danholloran.me/posts/obsidian-bases-formulas-computed-columns-your-notes-never-have-to-store</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-bases-formulas-computed-columns-your-notes-never-have-to-store</guid>
            <pubDate>Tue, 27 Oct 2026 09:15:06 GMT</pubDate>
            <description><![CDATA[Bases formulas let you calculate deadlines, flags, scores, and labels from properties you already have, so your frontmatter stays small and views stay smart.]]></description>
            <content:encoded><![CDATA[<p>Every vault eventually grows a property that shouldn't exist. A <code>days_left</code> field you update by hand. An <code>overdue: true</code> checkbox you forget to tick. A <code>price_per_page</code> number you calculated once in your head and never touched again. These are values derived from other values, and storing them in frontmatter means they go stale the moment the inputs change.</p>
<p>Bases formulas fix that. A formula is a computed property that lives in the <code>.base</code> file, not in your notes. It reads the properties you already have, does the math or the logic, and shows the result as a column, a card field, or a sort key. Your notes keep only the facts. The base works out everything else, every time it renders.</p>
<h2 id="where-formulas-live-and-how-they-reference-things" tabindex="-1">Where formulas live and how they reference things <a class="header-anchor" href="#where-formulas-live-and-how-they-reference-things" aria-label="Permalink to &quot;Where formulas live and how they reference things&quot;">&ZeroWidthSpace;</a></h2>
<p>You can add a formula from the toolbar (<strong>Properties → Add formula</strong>), and the editor autocompletes function and property names and shows a green checkmark when the expression is valid. Under the hood it lands in the <code>formulas:</code> block of the base's YAML:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">formulas</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  days_label</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">if(due, due.relative(), "No due date")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  is_overdue</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">due &#x3C; today() &#x26;&#x26; status != "done"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  flag</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">if(formula.is_overdue, "🔴 Overdue", "")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span></code></pre>
</div><p>Three kinds of values are available inside an expression:</p>
<ul>
<li><strong>Note properties</strong> from frontmatter, like <code>due</code> or <code>note.status</code>. No prefix means a note property.</li>
<li><strong>File properties</strong> that every file has, like <code>file.mtime</code>, <code>file.tags</code>, <code>file.links</code>, or <code>file.folder</code>.</li>
<li><strong>Other formulas</strong>, prefixed with <code>formula.</code>. That's how <code>flag</code> above reuses <code>is_overdue</code>. Chains are fine as long as nothing is circular.</li>
</ul>
<p>One YAML gotcha catches almost everyone: formulas are stored as strings, so text literals inside them need their own quotes. Wrap the whole expression in single quotes and use double quotes inside, or the other way around. Mixing them up is the most common reason a formula silently refuses to save.</p>
<h2 id="a-project-tracker-that-maintains-itself" tabindex="-1">A project tracker that maintains itself <a class="header-anchor" href="#a-project-tracker-that-maintains-itself" aria-label="Permalink to &quot;A project tracker that maintains itself&quot;">&ZeroWidthSpace;</a></h2>
<p>Say your project notes have <code>status</code>, <code>start</code>, <code>due</code>, <code>impact</code>, <code>effort</code>, and a <code>tags</code> list. Here's a base that turns those six facts into something useful:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">filters</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  and</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> file.inFolder("Projects")</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">formulas</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  target</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">if(due, due, start + "2w")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  when</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">formula.target.relative()</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  bucket</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">if(status == "done", "Done", if(formula.target &#x3C; today(), "Overdue", if(formula.target &#x3C; today() + "7d", "This week", "Later")))</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  score</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">if(effort, ((impact * 10) / effort).round(1), 0)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  stale</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">status != "done" &#x26;&#x26; file.mtime &#x3C; now() - "30d"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">views</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-77771c shk-dark-dada93"> type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> table</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    name</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> Triage</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    groupBy</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">      property</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> formula.bucket</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">      direction</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> ASC</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    order</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> file.name</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> status</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> formula.when</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> formula.score</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> formula.stale</span></span></code></pre>
</div><p>A few things are happening here that would each have been a hand-maintained property before:</p>
<ul>
<li><code>target</code> falls back to &quot;start plus two weeks&quot; when a project has no due date. Date arithmetic takes duration strings like <code>&quot;2w&quot;</code>, <code>&quot;7d&quot;</code>, or <code>&quot;1M&quot;</code> directly.</li>
<li><code>when</code> renders the deadline as &quot;in 3 days&quot; or &quot;2 weeks ago&quot; with <code>relative()</code>.</li>
<li><code>bucket</code> is a nested <code>if()</code> that sorts every project into one of four groups, and the view groups by it. Because groups now work in table, cards, list, and kanban layouts, the same formula can drive a board too.</li>
<li><code>score</code> is a crude impact/effort ratio, guarded so a missing <code>effort</code> doesn't divide by nothing.</li>
<li><code>stale</code> flags open projects you haven't touched in a month, using the file's own modified time. No property required at all.</li>
</ul>
<p>Change a due date in one note and every one of those columns updates. Nothing to remember.</p>
<h2 id="lists-links-and-summaries" tabindex="-1">Lists, links, and summaries <a class="header-anchor" href="#lists-links-and-summaries" aria-label="Permalink to &quot;Lists, links, and summaries&quot;">&ZeroWidthSpace;</a></h2>
<p>Formulas aren't limited to numbers and dates. List properties get <code>filter()</code>, <code>map()</code>, <code>join()</code>, <code>unique()</code>, and <code>reduce()</code>, using <code>value</code> for the current item:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">formulas</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  topic_tags</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">file.tags.filter(value.contains("topic/")).join(", ")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  link_count</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">file.links.length</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  authors_text</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">list(author).join(", ")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span></code></pre>
</div><p>The <code>list()</code> wrapper is worth memorizing. If some notes store <code>author</code> as a single value and others as a list, <code>list()</code> normalizes both so <code>join()</code> never chokes.</p>
<p>For column totals, the view-level <code>summaries</code> key handles the common cases (Sum, Average, Earliest, Checked, Unique, and more). When you need something custom, define it at the top level using <code>values</code>, the list of every value in that column:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">summaries</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  avgScore</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">values.mean().round(1)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">views</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-77771c shk-dark-dada93"> type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> table</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    name</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> Triage</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    summaries</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">      formula.score</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> avgScore</span></span></code></pre>
</div><h2 id="when-to-reach-for-something-else" tabindex="-1">When to reach for something else <a class="header-anchor" href="#when-to-reach-for-something-else" aria-label="Permalink to &quot;When to reach for something else&quot;">&ZeroWidthSpace;</a></h2>
<p>Formulas are expressions, not scripts. There are no loops beyond the list helpers, no reading note bodies, and no writing back to files. If you need to parse task checkboxes inside a note or build a custom HTML report, that's still DataviewJS territory. And if a value is a real fact you'd want in the note itself, like a rating or a finish date, it belongs in frontmatter, not in a formula. The test is simple: if you could compute it from other properties, compute it.</p>
<p>Start by finding one property in your vault you update by hand and delete it. Rebuild it as a formula, add it to a view, and enjoy never touching it again. The <a href="https://obsidian.md/help/formulas" target="_blank" rel="noreferrer">Formulas guide</a> and the full <a href="https://obsidian.md/help/bases/functions" target="_blank" rel="noreferrer">Functions reference</a> cover every type and method available.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>productivity</category>
            <category>properties-and-frontmatter</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-bases-formulas-computed-columns-your-notes-never-have-to-store.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Mermaid Diagrams in Obsidian: Architecture Docs That Live Next to Your Notes]]></title>
            <link>https://danholloran.me/posts/mermaid-diagrams-in-obsidian-architecture-docs-that-live-next-to-your-notes</link>
            <guid isPermaLink="false">https://danholloran.me/posts/mermaid-diagrams-in-obsidian-architecture-docs-that-live-next-to-your-notes</guid>
            <pubDate>Tue, 20 Oct 2026 09:15:21 GMT</pubDate>
            <description><![CDATA[Obsidian renders Mermaid out of the box, so flowcharts, sequence diagrams, and state machines can live as plain text in your vault and diff cleanly in git.]]></description>
            <content:encoded><![CDATA[<p>Every developer vault eventually grows a folder of screenshots: a whiteboard photo from a planning meeting, an exported PNG of a sequence diagram, a draw.io file nobody can open on their phone. They rot fast. The code changes, the picture doesn't, and six months later you're squinting at boxes that describe a system that no longer exists.</p>
<p>Obsidian has a better option built in, and a lot of people never notice it. Any code block tagged <code>mermaid</code> renders as a live diagram, no plugin required. The diagram is just text in your note, so it searches, syncs, diffs in git, and edits in two seconds when the architecture shifts.</p>
<h2 id="your-first-diagram-is-a-code-block" tabindex="-1">Your first diagram is a code block <a class="header-anchor" href="#your-first-diagram-is-a-code-block" aria-label="Permalink to &quot;Your first diagram is a code block&quot;">&ZeroWidthSpace;</a></h2>
<p>Open any note and add a fenced block with the <code>mermaid</code> language tag. Switch to Live Preview or Reading view and it renders in place:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span><span class="shk-light-2e7d32 shk-dark-a9ce93">mermaid</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">sequenceDiagram</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  participant Browser</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  participant API</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  participant Auth</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  Browser->>API: POST /login</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  API->>Auth: verify(credentials)</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  Auth-->>API: session token</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  API-->>Browser: 200 + Set-Cookie</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span></span></code></pre>
</div><p>That's the whole setup. Mermaid covers the diagrams developers actually draw: flowcharts (<code>graph TD</code> or <code>flowchart LR</code>), sequence diagrams, class diagrams, state diagrams (<code>stateDiagram-v2</code>), entity relationship diagrams, and Gantt charts. If you're unsure of the syntax, draft in the <a href="https://mermaid.live" target="_blank" rel="noreferrer">Mermaid Live Editor</a> and paste the result into your note.</p>
<p>A state machine is a good example of something that is painful to describe in prose and trivial to read as a picture:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span><span class="shk-light-2e7d32 shk-dark-a9ce93">mermaid</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">stateDiagram-v2</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  [*] --> Draft</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  Draft --> InReview: open PR</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  InReview --> Draft: changes requested</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  InReview --> Merged: approved + CI green</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  Merged --> [*]</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span></span></code></pre>
</div><p>Put that at the top of the note documenting your release process and nobody has to read three paragraphs to understand the flow.</p>
<h2 id="turn-nodes-into-links-to-your-notes" tabindex="-1">Turn nodes into links to your notes <a class="header-anchor" href="#turn-nodes-into-links-to-your-notes" aria-label="Permalink to &quot;Turn nodes into links to your notes&quot;">&ZeroWidthSpace;</a></h2>
<p>This is the part that makes Mermaid feel native to Obsidian instead of bolted on. Per the <a href="https://obsidian.md/help/advanced-syntax" target="_blank" rel="noreferrer">Obsidian help docs</a>, you can make flowchart nodes clickable internal links by attaching the <code>internal-link</code> class:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span><span class="shk-light-2e7d32 shk-dark-a9ce93">mermaid</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">graph LR</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  A[Checkout Service] --> B[Payments Service]</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  B --> C[Ledger]</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">  A --> D[Inventory Service]</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">class A,B,C,D internal-link;</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span></span></code></pre>
</div><p>Each node now opens the note whose name matches its label. So if you keep one note per service, the diagram becomes a clickable map of your system: click &quot;Payments Service&quot; and you land on its runbook, its endpoints, its on-call notes.</p>
<p>A few details worth knowing:</p>
<ul>
<li>The link target is the node text, so name the nodes exactly like your notes.</li>
<li>Note names with special characters need double quotes, such as <code>A[&quot;Auth (legacy)&quot;]</code>.</li>
<li>The docs suggest a lazy trick for big diagrams: label nodes with letters and apply the class to <code>A,B,C,...,Z</code> in one line, so every node you define is linked.</li>
<li>Links inside diagrams <strong>do not show up in Graph view</strong> or count as backlinks. If a relationship matters for navigation, also write a normal <code>[[wikilink]]</code> somewhere in the note body.</li>
</ul>
<p>That last point is the main tradeoff. The diagram is a great way to read connections, but Obsidian doesn't index them, so don't let a diagram become the only place a link exists.</p>
<h2 id="where-it-falls-short" tabindex="-1">Where it falls short <a class="header-anchor" href="#where-it-falls-short" aria-label="Permalink to &quot;Where it falls short&quot;">&ZeroWidthSpace;</a></h2>
<p>Obsidian ships its own bundled copy of Mermaid, and it has historically trailed the upstream release. If an example from the Mermaid docs breaks in your vault but works in the Live Editor, the bundled version is the likely cause, not your syntax. Stick to the established types (flowchart, sequence, class, state, ER, Gantt) for anything you rely on. If you truly need the newest features, community plugins exist that load a current Mermaid build, but that's one more plugin to trust and maintain.</p>
<p>Layout is the other limit. Mermaid decides where boxes go, and past about 15 to 20 nodes the auto-layout gets tangled. When that happens, split the diagram: one high-level overview that links to a note per subsystem, each with its own small diagram. That structure is easier to maintain anyway. And if what you want is freeform spatial arranging rather than a structured diagram, Canvas or Excalidraw is the better tool.</p>
<p>Styling is possible but fiddly. Mermaid supports per-diagram config through an init directive on the first line, for example <code>%%{init: {&quot;theme&quot;: &quot;neutral&quot;}}%%</code>, and <code>classDef</code> for node colors. Keep it light. Diagrams that lean on the default theme follow your Obsidian light and dark mode, while heavy custom colors often look wrong in one of them.</p>
<h2 id="make-it-a-habit" tabindex="-1">Make it a habit <a class="header-anchor" href="#make-it-a-habit" aria-label="Permalink to &quot;Make it a habit&quot;">&ZeroWidthSpace;</a></h2>
<p>The best place to start is wherever you already have a stale image. Pick one screenshot of a flow or an architecture sketch in your vault, rewrite it as a Mermaid block, and link the nodes to the notes they describe. Once the diagram lives in the same text file as the explanation, updating it becomes part of updating the note, which is the only way documentation diagrams ever stay accurate. The <a href="https://mermaid.js.org/intro/" target="_blank" rel="noreferrer">Mermaid syntax docs</a> and Obsidian's <a href="https://obsidian.md/help/advanced-syntax" target="_blank" rel="noreferrer">advanced formatting page</a> cover everything else you'll need.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>markdown</category>
            <category>workflows</category>
            <category>obsidian-for-developers</category>
            <enclosure url="https://danholloran.me/images/posts/mermaid-diagrams-in-obsidian-architecture-docs-that-live-next-to-your-notes.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Keychain: Get Your API Keys Out of data.json]]></title>
            <link>https://danholloran.me/posts/obsidian-keychain-get-your-api-keys-out-of-data-json</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-keychain-get-your-api-keys-out-of-data-json</guid>
            <pubDate>Fri, 16 Oct 2026 09:15:03 GMT</pubDate>
            <description><![CDATA[Obsidian's Keychain gives plugins one shared, device-local home for API keys instead of plaintext in data.json. Here's how it works and where it falls short.]]></description>
            <content:encoded><![CDATA[<p>Open your vault folder, find <code>.obsidian/plugins/</code>, and look inside a few <code>data.json</code> files. If you use any AI, sync, or publishing plugin, there is a good chance you will find an API key sitting there in plain text. That file lives inside your vault, which means it rides along with whatever you use to sync or back up that vault: iCloud, Obsidian Sync, a Git repo you push to GitHub. Most of us never meant to publish our OpenAI key to a private repo, but plenty of us have.</p>
<p>There is a second, more boring problem too. If three plugins all talk to the same service, you paste the same key three times. When you rotate it, you hunt down all three. Obsidian's <strong>Keychain</strong>, added in the 1.11 release cycle, is the app's answer to both.</p>
<h2 id="what-the-keychain-actually-is" tabindex="-1">What the Keychain actually is <a class="header-anchor" href="#what-the-keychain-actually-is" aria-label="Permalink to &quot;What the Keychain actually is&quot;">&ZeroWidthSpace;</a></h2>
<p>Keychain is a built-in settings section, not a Community plugin. You will find it under <strong>Settings -&gt; Keychain</strong>. It is a simple list of named secrets: you give a secret a name like <code>openai-personal</code> and paste the value once.</p>
<p>Plugins never see that list unless they ask for a specific name. In Obsidian 1.11.4 the team exposed a <code>SecretStorage</code> API and a matching <code>SecretComponent</code> for plugin settings screens. The <a href="https://obsidian.md/changelog/2026-01-07-desktop-v1.11.4/" target="_blank" rel="noreferrer">1.11.4 changelog</a> describes the intent plainly: instead of copy-pasting the same Google or OpenAI key into several plugins, plugins fetch it from a shared collection identified by a user-provided name.</p>
<p>The important detail is <em>where</em> the value lives. Per the <a href="https://docs.obsidian.md/plugins/guides/secret-storage" target="_blank" rel="noreferrer">developer guide</a>, a plugin's settings now store only the <strong>name</strong> of the secret. The value itself lives in the app's local storage on that device, keyed to the vault. It is not a file in your vault folder, so it does not get committed, synced, or zipped up with a backup.</p>
<h2 id="what-changes-in-a-plugin-that-supports-it" tabindex="-1">What changes in a plugin that supports it <a class="header-anchor" href="#what-changes-in-a-plugin-that-supports-it" aria-label="Permalink to &quot;What changes in a plugin that supports it&quot;">&ZeroWidthSpace;</a></h2>
<p>From the user side, a supporting plugin swaps its plain text box for a picker. You choose an existing secret or create a new one right there, and the plugin remembers the name.</p>
<p>If you write plugins, the change is small. The official guide's pattern looks like this:</p>
<div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">import</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262c shk-dark-e5e5e5"> Notice</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> SecretComponent</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> Setting </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-4475b7 shk-dark-99bdea"> from</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">new</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> Setting</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">containerEl</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">setName</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">API key</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">setDesc</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Pick a secret from your Keychain</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">addComponent</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">el</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">    new</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> SecretComponent</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">app</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> el</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">setValue</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">plugin</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">settings</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">apiKeySecret</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">onChange</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-4475b7 shk-dark-99bdea">async</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-1a262c shk-dark-e5e5e5">name</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">        this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">plugin</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">settings</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">apiKeySecret</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> name</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"> // the name, not the key</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">        await</span><span class="shk-light-1a262c shk-dark-e5e5e5"> this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">plugin</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">saveSettings</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">();</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      })</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  );</span></span></code></pre>
</div><p>Then, at the moment you actually need the key:</p>
<div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> key</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">app</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">secretStorage</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">getSecret</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">settings</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">apiKeySecret</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">if</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-4475b7 shk-dark-99bdea">!</span><span class="shk-light-1a262c shk-dark-e5e5e5">key</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  new</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> Notice</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">No API key found. Add one under Settings -> Keychain.</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  return</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span></code></pre>
</div><p><code>SecretComponent</code> uses <code>addComponent</code> rather than an <code>addText</code>-style helper because it needs the <code>App</code> instance to reach the store. Plan for <code>getSecret</code> returning <code>null</code>; it will on any device where the user has not set the secret yet.</p>
<p>Adoption is already happening. Plugins like Agent Client and Gemini Helper have shipped migrations that move an existing key out of <code>data.json</code> into the Keychain and only delete the plaintext copy after the save succeeds. That is the pattern to copy if you maintain a plugin.</p>
<h2 id="the-tradeoffs-nobody-mentions-up-front" tabindex="-1">The tradeoffs nobody mentions up front <a class="header-anchor" href="#the-tradeoffs-nobody-mentions-up-front" aria-label="Permalink to &quot;The tradeoffs nobody mentions up front&quot;">&ZeroWidthSpace;</a></h2>
<p><strong>It is per device.</strong> Because secrets live in local app storage, they do not sync. Set up a new laptop or open your vault on your phone and you will need to add the secret again on that device. For a lot of people that is the point; for others it is a surprise the first time a plugin says the key is missing.</p>
<p><strong>It only helps once your plugins adopt it.</strong> If a plugin still has a plain text field, the key still goes into <code>data.json</code>. A March 2026 <a href="https://forum.obsidian.md/t/what-is-obsidian-keychain-and-how-to-use-it/112408" target="_blank" rel="noreferrer">forum thread</a> captures the frustration well: the setting exists, but until each plugin developer opts in, there is nothing for it to hold. There are no environment variables or placeholders to bridge the gap.</p>
<p><strong>Migration can break synced setups.</strong> A developer in that same thread pointed out that moving a field from synced settings to device-local secrets quietly breaks anyone who relied on syncing plugin settings across machines. Some plugins will likely offer both a plain field and a Keychain picker for a while.</p>
<p><strong>Watch the multi-vault edge cases on mobile.</strong> In August 2026 a plugin author <a href="https://forum.obsidian.md/t/secretstorage-appears-to-be-shared-across-vaults-on-mobile-but-vault-scoped-on-desktop/117793" target="_blank" rel="noreferrer">reported</a> that secrets with the same name stayed isolated per vault on desktop but appeared to overwrite each other across vaults on mobile. Until that is clarified, give secrets distinct names per vault (<code>work-openai</code>, <code>personal-openai</code>) if you run more than one.</p>
<h2 id="where-to-start" tabindex="-1">Where to start <a class="header-anchor" href="#where-to-start" aria-label="Permalink to &quot;Where to start&quot;">&ZeroWidthSpace;</a></h2>
<p>Do a five-minute audit. Search your <code>.obsidian/plugins/*/data.json</code> files for anything that looks like a key or token, check whether each plugin now offers a Keychain picker, and move the ones that do. Rotate any key that has already been committed or synced somewhere you would not want it. If you maintain a plugin, the <a href="https://docs.obsidian.md/plugins/guides/secret-storage" target="_blank" rel="noreferrer">SecretStorage guide</a> is short enough to read over coffee, and your users' Git histories will thank you.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>plugins</category>
            <category>workflows</category>
            <category>obsidian-api-and-themes</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-keychain-get-your-api-keys-out-of-data-json.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Quick Capture on iOS: Stop Losing Thoughts to the Loading Screen]]></title>
            <link>https://danholloran.me/posts/obsidian-quick-capture-on-ios-stop-losing-thoughts-to-the-loading-screen</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-quick-capture-on-ios-stop-losing-thoughts-to-the-loading-screen</guid>
            <pubDate>Tue, 13 Oct 2026 09:15:37 GMT</pubDate>
            <description><![CDATA[Obsidian's Quick Capture for iOS 26 lets you jot a note from the Lock Screen or Control Center without waiting for your vault to load. Here's how it works.]]></description>
            <content:encoded><![CDATA[<p>Every Obsidian mobile user knows this moment. You're in line at the grocery store, an idea shows up, you tap the Obsidian icon, and then you wait. The vault indexes, plugins load, the sync indicator spins. By the time the editor is ready, half the thought is gone and the other half is competing with the cashier.</p>
<p>A big vault with a dozen community plugins is great on a laptop and sluggish on an iPhone, and capture is exactly the job where a few seconds matter most. Obsidian 1.14 for iOS goes after that problem directly with native Quick Capture.</p>
<h2 id="what-quick-capture-actually-is" tabindex="-1">What Quick Capture actually is <a class="header-anchor" href="#what-quick-capture-actually-is" aria-label="Permalink to &quot;What Quick Capture actually is&quot;">&ZeroWidthSpace;</a></h2>
<p>Quick Capture is a small native editor that runs <strong>without waiting for your vault to load</strong>. On iOS 26 you can open it from the Lock Screen, from Control Center, or from a Shortcut. You type, and the text lands in your vault. While you're editing, the capture stays reachable as a Live Activity on the Lock Screen and in the Dynamic Island, so switching apps to copy a link doesn't lose your place.</p>
<p>Two caveats before you go looking for it:</p>
<ul>
<li>It requires <strong>iOS 26</strong>. Older iOS versions don't get the native capture surfaces.</li>
<li>As of the 1.14.0 and 1.14.1 mobile releases in September 2026, it shipped through <strong>early access (Catalyst)</strong>. If you're on the public build and don't see it, that's why. Check the <a href="https://obsidian.md/changelog" target="_blank" rel="noreferrer">Obsidian changelog</a> for when it reaches the public channel.</li>
</ul>
<p>It builds on groundwork from earlier in the year. Obsidian 1.12 for iOS added a Share extension that saves content from Safari or other apps into your vault without opening Obsidian, plus a &quot;Bookmark Link&quot; Shortcuts action. Quick Capture is the same idea pointed at your own thoughts instead of someone else's web page.</p>
<h2 id="locations-decide-where-it-goes-before-you-write-it" tabindex="-1">Locations: decide where it goes before you write it <a class="header-anchor" href="#locations-decide-where-it-goes-before-you-write-it" aria-label="Permalink to &quot;Locations: decide where it goes before you write it&quot;">&ZeroWidthSpace;</a></h2>
<p>The feature that makes Quick Capture more than a scratch pad is <strong>Locations</strong>. A Location is a saved destination for captures, and it can be:</p>
<ul>
<li>a <strong>new note</strong></li>
<li><strong>today's daily note</strong></li>
<li>a <strong>bookmarked note</strong></li>
<li><strong>any note you choose</strong></li>
</ul>
<p>This matters because the classic mobile failure mode isn't the slow launch. It's the pile of &quot;Untitled 14.md&quot; files you find a month later. Locations let you route captures at the moment you make them. A reasonable starting set looks like this:</p>
<div class="table-scroll">
<table>
<thead>
<tr>
<th>Location</th>
<th>Target</th>
<th>Use it for</th>
</tr>
</thead>
<tbody>
<tr>
<td>Journal</td>
<td>Today's daily note</td>
<td>Passing thoughts, things that happened</td>
</tr>
<tr>
<td>Inbox</td>
<td>A bookmarked <code>Inbox.md</code></td>
<td>Tasks and ideas to triage later</td>
</tr>
<tr>
<td>New idea</td>
<td>New note</td>
<td>Anything big enough to become its own note</td>
</tr>
<tr>
<td>Reading</td>
<td>A chosen <code>Reading list.md</code> note</td>
<td>Books and articles people recommend</td>
</tr>
</tbody>
</table>
</div>
<p>If you already run a daily note workflow, the daily note Location is the obvious default. Your phone captures become part of the day's record instead of orphans in the root folder.</p>
<p>As of 1.14.1, you can bind Locations to the capture surfaces themselves. Lock Screen and Control Center widgets can open a specific Location, a configurable <strong>Home Screen widget</strong> holds shortcuts to several Locations at once, and the <strong>Quick Capture action in Shortcuts</strong> takes a Location parameter. That last one is the power-user hook: a Shortcut can open capture pointed at your Inbox, triggered by a Back Tap, an Action Button press, or a Focus mode change.</p>
<h2 id="templates-with-location-data" tabindex="-1">Templates with location data <a class="header-anchor" href="#templates-with-location-data" aria-label="Permalink to &quot;Templates with location data&quot;">&ZeroWidthSpace;</a></h2>
<p>Quick Capture templates support variables for where you are when you write. <code>{{latitude}}</code> and <code>{{longitude}}</code> insert your current coordinates, and since 1.14.1 <code>{{openStreetMapLink}}</code> inserts a link to your position on OpenStreetMap.</p>
<p>That's handy for field notes, travel logs, or anything where the place is part of the memory. A capture template for a travel journal might look like this:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> field-note</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">lat</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> latitude</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">lng</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> longitude</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Location: {{openStreetMapLink}}</span></span></code></pre>
</div><p>Because the coordinates land in properties, they're queryable later. A Bases view or a Dataview query can list every field note with its coordinates, and a map plugin can plot them.</p>
<p>One thing worth deciding up front: location data in a note is still location data. If your vault syncs to a shared folder or you publish parts of it with Obsidian Publish, keep the location template on Locations that stay private.</p>
<h2 id="a-capture-setup-that-stays-out-of-your-way" tabindex="-1">A capture setup that stays out of your way <a class="header-anchor" href="#a-capture-setup-that-stays-out-of-your-way" aria-label="Permalink to &quot;A capture setup that stays out of your way&quot;">&ZeroWidthSpace;</a></h2>
<p>Quick Capture works best when the phone does one job: get the thought into the right place, fast. Triage, linking, and cleanup happen later on a bigger screen. A minimal setup:</p>
<ol>
<li>Create two or three Locations, no more. Daily note, Inbox, and &quot;new note&quot; cover most of it.</li>
<li>Put the Daily note Location on the Lock Screen widget, since that's the one you'll hit without thinking.</li>
<li>Add the Home Screen widget with the rest.</li>
<li>Once a week, process the Inbox note on desktop: turn lines into tasks, links, or real notes.</li>
</ol>
<p>Native Quick Capture removes most of the reason to run a separate quick-notes app. If you're on iOS 26 and willing to run an early access build, it's worth trying now. Otherwise, set up your Inbox and daily note structure today so it's ready when the feature lands in the public release. The <a href="https://obsidian.md/changelog/2026-09-02-mobile-v1.14.0/" target="_blank" rel="noreferrer">1.14.0</a> and <a href="https://obsidian.md/changelog/2026-09-08-mobile-v1.14.1/" target="_blank" rel="noreferrer">1.14.1</a> mobile changelogs have the full details.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>obsidian-mobile</category>
            <category>productivity</category>
            <category>workflows</category>
            <category>daily-notes</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-quick-capture-on-ios-stop-losing-thoughts-to-the-loading-screen.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[JSON Canvas: Generate Obsidian Canvases From a Script]]></title>
            <link>https://danholloran.me/posts/json-canvas-generate-obsidian-canvases-from-a-script</link>
            <guid isPermaLink="false">https://danholloran.me/posts/json-canvas-generate-obsidian-canvases-from-a-script</guid>
            <pubDate>Fri, 09 Oct 2026 09:15:36 GMT</pubDate>
            <description><![CDATA[A .canvas file is just JSON with an open spec. Here's how the format works and how to build a canvas from your notes with a short Node script.]]></description>
            <content:encoded><![CDATA[<p>Canvas is one of those Obsidian features that feels great for the first ten cards and tedious by the fiftieth. You want a board of every project note, grouped by status, with arrows to the notes they depend on. Dragging that together by hand is slow, and the moment a status changes in frontmatter, the board is stale.</p>
<p>Here's the part a lot of people miss: a <code>.canvas</code> file isn't a proprietary blob. It's plain JSON, and since March 2024 the format has had its own name, <a href="https://jsoncanvas.org/" target="_blank" rel="noreferrer">JSON Canvas</a>, with an MIT-licensed spec maintained by the Obsidian team. If you can write a JSON file, you can generate a canvas.</p>
<h2 id="what-s-actually-inside-a-canvas-file" tabindex="-1">What's actually inside a .canvas file <a class="header-anchor" href="#what-s-actually-inside-a-canvas-file" aria-label="Permalink to &quot;What's actually inside a .canvas file&quot;">&ZeroWidthSpace;</a></h2>
<p>Open any canvas in a text editor and you'll find two top-level arrays, both optional: <code>nodes</code> and <code>edges</code>. The <a href="https://jsoncanvas.org/spec/1.0/" target="_blank" rel="noreferrer">1.0 spec</a> is short enough to read over coffee.</p>
<p>Every node has a required <code>id</code>, <code>type</code>, <code>x</code>, <code>y</code>, <code>width</code>, and <code>height</code>, all positions and sizes in pixels. There are four node types:</p>
<ul>
<li><strong><code>text</code></strong> holds Markdown in a <code>text</code> field</li>
<li><strong><code>file</code></strong> points at a file in your vault via <code>file</code>, with an optional <code>subpath</code> (starting with <code>#</code>) to target a heading or block</li>
<li><strong><code>link</code></strong> embeds a web page via <code>url</code></li>
<li><strong><code>group</code></strong> is a visual container with an optional <code>label</code> and background image</li>
</ul>
<p>Edges connect nodes with <code>fromNode</code> and <code>toNode</code>, plus optional <code>fromSide</code>/<code>toSide</code> (<code>top</code>, <code>right</code>, <code>bottom</code>, <code>left</code>), a <code>label</code>, and endpoint shapes. <code>toEnd</code> defaults to <code>arrow</code> and <code>fromEnd</code> defaults to <code>none</code>, so a bare edge already draws a one-way arrow.</p>
<p>Here's a minimal, valid canvas with one note, one sticky, and an arrow between them:</p>
<div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">{</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  "</span><span class="shk-light-337e85 shk-dark-87c4cd">nodes</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    {</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">id</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">a1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">type</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">file</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">file</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Projects/Website Redesign.md</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">x</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 0</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">y</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 0</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">width</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 400</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">height</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 300</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    }</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    {</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">id</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">b2</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">type</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">text</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">text</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">**Blocked** on new brand colors</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">x</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 500</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">y</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 100</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">width</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 260</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">height</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 80</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">color</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    }</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  ]</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  "</span><span class="shk-light-337e85 shk-dark-87c4cd">edges</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    {</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">id</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">e1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">fromNode</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">b2</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">fromSide</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">left</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">toNode</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">a1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      "</span><span class="shk-light-337e85 shk-dark-87c4cd">toSide</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">right</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    }</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  ]</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span></code></pre>
</div><p>Two details worth knowing. First, node order is z-order: the first node in the array renders at the bottom, so groups should come <strong>before</strong> the cards that sit inside them. Second, colors are either hex strings like <code>&quot;#FF0000&quot;</code> or the presets <code>&quot;1&quot;</code> through <code>&quot;6&quot;</code> (red, orange, yellow, green, cyan, purple). The spec deliberately leaves the exact preset shades to the app, which is why they follow your Obsidian theme.</p>
<h2 id="generate-a-status-board-from-your-notes" tabindex="-1">Generate a status board from your notes <a class="header-anchor" href="#generate-a-status-board-from-your-notes" aria-label="Permalink to &quot;Generate a status board from your notes&quot;">&ZeroWidthSpace;</a></h2>
<p>Say your project notes live in <code>Projects/</code> and each has a <code>status</code> property like <code>active</code>, <code>waiting</code>, or <code>done</code>. This Node script, with no dependencies, reads them and writes a canvas with one group per status and a file card for each note:</p>
<div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic">// scripts/build-project-canvas.mjs</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">import</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262c shk-dark-e5e5e5"> readdir</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> readFile</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> writeFile </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-4475b7 shk-dark-99bdea"> from</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">node:fs/promises</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">import</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262c shk-dark-e5e5e5"> join </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-4475b7 shk-dark-99bdea"> from</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">node:path</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">import</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262c shk-dark-e5e5e5"> randomBytes </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-4475b7 shk-dark-99bdea"> from</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">node:crypto</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> VAULT</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> process</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">argv</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-337e85 shk-dark-87c4cd">2</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea"> ??</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">.</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> FOLDER</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Projects</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> STATUSES</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">active</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">waiting</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">done</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">];</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> COLORS</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-337e85 shk-dark-87c4cd"> active</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">4</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> waiting</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">3</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> done</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">5</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> };</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-337e85 shk-dark-87c4cd"> w</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 360</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> h</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 220</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> gap</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 40</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> };</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> id</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> ()</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-6b63c8 shk-dark-bab5ea"> randomBytes</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-337e85 shk-dark-87c4cd">8</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">).</span><span class="shk-light-6b63c8 shk-dark-bab5ea">toString</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">hex</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">function</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> readStatus</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">source</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> fm</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> source</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">match</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">/</span><span class="shk-light-4475b7 shk-dark-99bdea">^</span><span class="shk-light-2e7d32 shk-dark-a9ce93">---</span><span class="shk-light-337e85 shk-dark-87c4cd">\n</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">([</span><span class="shk-light-337e85 shk-dark-87c4cd">\s\S</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea">*?</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-337e85 shk-dark-87c4cd">\n</span><span class="shk-light-2e7d32 shk-dark-a9ce93">---</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">/</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> line</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> fm</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">?.[</span><span class="shk-light-337e85 shk-dark-87c4cd">1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">].</span><span class="shk-light-6b63c8 shk-dark-bab5ea">match</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">/</span><span class="shk-light-4475b7 shk-dark-99bdea">^</span><span class="shk-light-2e7d32 shk-dark-a9ce93">status:</span><span class="shk-light-337e85 shk-dark-87c4cd">\s</span><span class="shk-light-4475b7 shk-dark-99bdea">*</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-337e85 shk-dark-87c4cd">'"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea">?</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-337e85 shk-dark-87c4cd">\w</span><span class="shk-light-4475b7 shk-dark-99bdea">+</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)/</span><span class="shk-light-4475b7 shk-dark-99bdea">m</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  return</span><span class="shk-light-1a262c shk-dark-e5e5e5"> line</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">?.[</span><span class="shk-light-337e85 shk-dark-87c4cd">1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea"> ??</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">active</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> files</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-4475b7 shk-dark-99bdea">await</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> readdir</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">join</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-337e85 shk-dark-87c4cd">VAULT</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> FOLDER</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">))).</span><span class="shk-light-6b63c8 shk-dark-bab5ea">filter</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">f</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  f</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">endsWith</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">.md</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> byStatus</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> Object</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">fromEntries</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-337e85 shk-dark-87c4cd">STATUSES</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">map</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">s</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-1a262c shk-dark-e5e5e5">s</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> []]));</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">for</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> name</span><span class="shk-light-4475b7 shk-dark-99bdea"> of</span><span class="shk-light-1a262c shk-dark-e5e5e5"> files</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> status</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> readStatus</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-4475b7 shk-dark-99bdea">await</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> readFile</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">join</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-337e85 shk-dark-87c4cd">VAULT</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> FOLDER</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> name</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">utf8</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">));</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  (</span><span class="shk-light-1a262c shk-dark-e5e5e5">byStatus</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-1a262c shk-dark-e5e5e5">status</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea"> ??</span><span class="shk-light-1a262c shk-dark-e5e5e5"> byStatus</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">active</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">).</span><span class="shk-light-6b63c8 shk-dark-bab5ea">push</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-337e85 shk-dark-87c4cd">${</span><span class="shk-light-337e85 shk-dark-87c4cd">FOLDER</span><span class="shk-light-337e85 shk-dark-87c4cd">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93">/</span><span class="shk-light-337e85 shk-dark-87c4cd">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">name</span><span class="shk-light-337e85 shk-dark-87c4cd">}</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> groups</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [];</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> cards</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [];</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">STATUSES</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">forEach</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">status</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> col</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> x</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> col </span><span class="shk-light-4475b7 shk-dark-99bdea">*</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-337e85 shk-dark-87c4cd">CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">w</span><span class="shk-light-4475b7 shk-dark-99bdea"> +</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">gap</span><span class="shk-light-4475b7 shk-dark-99bdea"> *</span><span class="shk-light-337e85 shk-dark-87c4cd"> 3</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> notes</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> byStatus</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-1a262c shk-dark-e5e5e5">status</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">];</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> height</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> Math</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">max</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-337e85 shk-dark-87c4cd">1</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> notes</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">length</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> *</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-337e85 shk-dark-87c4cd">CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">h</span><span class="shk-light-4475b7 shk-dark-99bdea"> +</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">gap</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> +</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">gap</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  groups</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">push</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">({</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">    id</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> id</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">()</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">    type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">group</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">    label</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262c shk-dark-e5e5e5"> status</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">    color</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> COLORS</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-1a262c shk-dark-e5e5e5">status</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">    x</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262c shk-dark-e5e5e5"> x </span><span class="shk-light-4475b7 shk-dark-99bdea">-</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">gap</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">    y</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-4475b7 shk-dark-99bdea"> -</span><span class="shk-light-337e85 shk-dark-87c4cd">CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">gap</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">    width</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">w</span><span class="shk-light-4475b7 shk-dark-99bdea"> +</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">gap</span><span class="shk-light-4475b7 shk-dark-99bdea"> *</span><span class="shk-light-337e85 shk-dark-87c4cd"> 2</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">    height</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  });</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  notes</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">forEach</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">file</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> row</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">    cards</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">push</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">({</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">      id</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> id</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">()</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">      type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">file</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">      file</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">      x</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">      y</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262c shk-dark-e5e5e5"> row </span><span class="shk-light-4475b7 shk-dark-99bdea">*</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-337e85 shk-dark-87c4cd">CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">h</span><span class="shk-light-4475b7 shk-dark-99bdea"> +</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">gap</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">      width</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">w</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">      height</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> CARD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">h</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    });</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  });</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">});</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic">// Groups first so they render beneath their cards</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> canvas</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-337e85 shk-dark-87c4cd"> nodes</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-4475b7 shk-dark-99bdea">...</span><span class="shk-light-1a262c shk-dark-e5e5e5">groups</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-4475b7 shk-dark-99bdea"> ...</span><span class="shk-light-1a262c shk-dark-e5e5e5">cards</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> edges</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> []</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> };</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">await</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> writeFile</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">  join</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-337e85 shk-dark-87c4cd">VAULT</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Project Board.canvas</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-337e85 shk-dark-87c4cd">  JSON</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">stringify</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">canvas</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> null</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> 2</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">console</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">log</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Wrote </span><span class="shk-light-337e85 shk-dark-87c4cd">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">cards</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">length</span><span class="shk-light-337e85 shk-dark-87c4cd">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> cards across </span><span class="shk-light-337e85 shk-dark-87c4cd">${</span><span class="shk-light-337e85 shk-dark-87c4cd">STATUSES</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">length</span><span class="shk-light-337e85 shk-dark-87c4cd">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> groups</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span></code></pre>
</div><p>Run it with <code>node scripts/build-project-canvas.mjs ~/Vault</code> and open <code>Project Board.canvas</code>. File paths in <code>file</code> nodes are vault-relative, which is why the script stores <code>Projects/&lt;name&gt;.md</code> rather than an absolute path.</p>
<p>The frontmatter parsing here is intentionally naive. If your properties get more complex, swap in a YAML parser, or pair this with <a href="https://danholloran.me/posts/the-obsidian-cli-script-your-vault-from-the-terminal.html">the Obsidian CLI</a> to pull note metadata instead of regexing it yourself.</p>
<h2 id="when-generating-beats-dragging" tabindex="-1">When generating beats dragging <a class="header-anchor" href="#when-generating-beats-dragging" aria-label="Permalink to &quot;When generating beats dragging&quot;">&ZeroWidthSpace;</a></h2>
<p>Generated canvases shine when the layout is derived from data you already maintain: status boards, a reading list grouped by tag, a map of every note linking to a given MOC, or a dependency graph built from a <code>blockedBy</code> property. Rerun the script and the board catches up.</p>
<p>They're a worse fit for freeform thinking. If you rearrange cards by hand and then regenerate, your layout is gone. A practical compromise is to generate into a file named something like <code>Project Board (generated).canvas</code> and treat it as read-only, keeping your hand-tuned canvases separate. The <a href="https://danholloran.me/posts/obsidian-canvas-turn-your-vault-into-a-visual-thinking-space.html">Canvas core plugin</a> is still the right tool when the arrangement itself is the thinking.</p>
<p>Also note that the spec is, in the Obsidian team's own words, &quot;relatively conservative.&quot; It covers the shared core, not every feature an app might add, so stick to the documented fields if you want files that other JSON Canvas apps can open too.</p>
<h2 id="wrapping-up" tabindex="-1">Wrapping up <a class="header-anchor" href="#wrapping-up" aria-label="Permalink to &quot;Wrapping up&quot;">&ZeroWidthSpace;</a></h2>
<p>The real win with JSON Canvas is the same one Obsidian sells for notes: your data is a readable file you own. That makes canvases scriptable, diffable in Git, and portable to the <a href="https://jsoncanvas.org/docs/apps" target="_blank" rel="noreferrer">other apps that support the format</a>. Start with the script above, point it at a folder you already organize with properties, and see how much hand-dragging you can delete.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>canvas</category>
            <category>plugins</category>
            <category>workflows</category>
            <category>markdown</category>
            <enclosure url="https://danholloran.me/images/posts/json-canvas-generate-obsidian-canvases-from-a-script.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[The Obsidian Linter Plugin: Consistent Frontmatter Without the Discipline]]></title>
            <link>https://danholloran.me/posts/obsidian-linter-plugin-consistent-frontmatter-without-the-discipline</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-linter-plugin-consistent-frontmatter-without-the-discipline</guid>
            <pubDate>Tue, 06 Oct 2026 09:15:56 GMT</pubDate>
            <description><![CDATA[Linter is Prettier for your vault. Here's how to set it up safely, which YAML rules make your Bases and Dataview queries trustworthy, and how to opt notes out.]]></description>
            <content:encoded><![CDATA[<p>Every vault drifts. You start with tidy frontmatter, a consistent tag style, and headings that step down one level at a time. Six months later you have notes with <code>tags: project</code>, notes with <code>tags: [Project]</code>, notes with <code>#project</code> buried in the body, and a handful with no frontmatter at all because you captured them on your phone in a hurry. Your Bases views and Dataview queries quietly skip the notes that don't match, and you don't notice until something you were sure existed fails to show up.</p>
<p>You could fix this with discipline. Or you could let a machine do it. The <a href="https://github.com/platers/obsidian-linter" target="_blank" rel="noreferrer">Linter</a> Community plugin is to your vault what Prettier is to a codebase: you decide the rules once, and it rewrites notes to match them every time you save.</p>
<h2 id="getting-it-running-without-wrecking-anything" tabindex="-1">Getting it running without wrecking anything <a class="header-anchor" href="#getting-it-running-without-wrecking-anything" aria-label="Permalink to &quot;Getting it running without wrecking anything&quot;">&ZeroWidthSpace;</a></h2>
<p>Install it from Settings -&gt; Community plugins -&gt; Browse, search for &quot;Linter&quot;, and enable it. Out of the box almost every rule is off, which is the right default. Before you turn anything on, make a backup or commit your vault if you use Git. Linter edits files in place, and one of its commands rewrites every note in the vault at once.</p>
<p>Next, decide when it should run. There are four triggers, and you can mix them:</p>
<ul>
<li><strong>Lint on save</strong>: runs on the current file when you press <code>Ctrl/Cmd+S</code> (or <code>:w</code> in Vim mode). Turn on <code>Lint on save</code> in the plugin settings.</li>
<li><strong>Lint on File Change</strong>: runs when you close a note or switch to another one, which catches the notes you edit and forget to save manually.</li>
<li><strong>Commands</strong>: <code>Lint the current file</code> (default <code>Ctrl+Alt+L</code>), <code>Lint all files in the current folder</code>, and <code>Lint all files in the vault</code>.</li>
<li><strong>File menu</strong>: right-click a file or folder in the sidebar and lint it from there.</li>
</ul>
<p>My suggestion: enable lint on save, then try your rules on one folder with the folder command before you ever touch the vault-wide one.</p>
<p>Finally, fence off what it should never touch. <code>Folders to Ignore</code> takes paths from the vault root, so your <code>Templates</code> folder doesn't get Templater syntax &quot;fixed&quot; into something broken. There is also a regex setting for ignoring files, which is handy for Excalidraw drawings:</p>
<div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>.*\.excalidraw\.md$</span></span></code></pre>
</div><h2 id="the-yaml-rules-that-earn-their-keep" tabindex="-1">The YAML rules that earn their keep <a class="header-anchor" href="#the-yaml-rules-that-earn-their-keep" aria-label="Permalink to &quot;The YAML rules that earn their keep&quot;">&ZeroWidthSpace;</a></h2>
<p>Linter has dozens of rules across YAML, headings, footnotes, content, spacing, and paste behavior. The YAML group is where it pays for itself, because frontmatter is what your queries actually read.</p>
<p><strong>YAML Timestamp</strong> (<code>yaml-timestamp</code>) writes created and modified dates into frontmatter from file metadata. The default format is a human-friendly string like <code>Thursday, January 2nd 2020, 12:00:05 am</code>, which looks nice and is terrible for sorting. Change the format to an ISO-style Moment string and rename the keys to something your queries already use:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Linter settings -> YAML Timestamp</span></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Date Created Key:  created</span></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Date Modified Key: modified</span></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Format:            YYYY-MM-DDTHH:mm</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">created</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> 2026-10-06T09:14</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">modified</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> 2026-10-06T09:42</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span></code></pre>
</div><p>Also turn on <code>Force Date Created Key Value Retention</code>. Without it, a sync tool that resets file metadata can silently rewrite your creation dates. One honest caveat: there are open issues on the plugin's GitHub where the modified date doesn't always update when you lint immediately after an edit, so treat <code>modified</code> as &quot;roughly when&quot; rather than an audit log.</p>
<p><strong>Insert YAML attributes</strong> (<code>insert-yaml-attributes</code>) guarantees certain keys exist on every note, even empty. That matters because a Bases filter on <code>status</code> can't match a note that doesn't have a <code>status</code> property:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Text to insert</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">aliases</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">tags</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">status</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span></code></pre>
</div><p><strong>YAML Key Sort</strong> (<code>yaml-key-sort</code>) puts keys in a fixed order, so every note's frontmatter reads the same way when you open it. List your priority keys one per line (say <code>created</code>, <code>modified</code>, <code>status</code>, <code>tags</code>) and choose whether the rest are sorted alphabetically or left alone.</p>
<p><strong>Format Tags in YAML</strong> and <strong>Move Tags to Yaml</strong> clean up the tag mess from the intro: they normalize the tag syntax in frontmatter and can pull inline <code>#tags</code> from the body up into the <code>tags</code> property, so one place holds the truth.</p>
<h2 id="opting-out-per-note-or-per-paragraph" tabindex="-1">Opting out, per note or per paragraph <a class="header-anchor" href="#opting-out-per-note-or-per-paragraph" aria-label="Permalink to &quot;Opting out, per note or per paragraph&quot;">&ZeroWidthSpace;</a></h2>
<p>Some notes need to break the rules: a pasted code sample, a poem with deliberate spacing, a note that mirrors an external format. Linter gives you two escape hatches. Disable specific rules, or all of them, in a note's frontmatter using rule aliases:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">disabled rules</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-2e7d32 shk-dark-a9ce93">capitalize-headings</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> header-increment</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span></code></pre>
</div><p>Or protect just part of a note with a range ignore. Obsidian comments work, so the markers stay invisible in Reading view:</p>
<div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>Normal text gets linted.</span></span>
<span class="line"><span></span></span>
<span class="line"><span>%%linter-disable%%</span></span>
<span class="line"><span>   This block keeps     its weird spacing.</span></span>
<span class="line"><span>%%linter-enable%%</span></span>
<span class="line"><span></span></span>
<span class="line"><span>Back to normal.</span></span></code></pre>
</div><p>If you leave off the closing marker, everything to the end of the file is ignored, so close your ranges.</p>
<h2 id="where-to-go-from-here" tabindex="-1">Where to go from here <a class="header-anchor" href="#where-to-go-from-here" aria-label="Permalink to &quot;Where to go from here&quot;">&ZeroWidthSpace;</a></h2>
<p>Start small: YAML Timestamp, Insert YAML attributes, and lint on save. Live with that for a week, then add heading rules or Key Sort once you trust it. If you outgrow the built-in rules, Linter also supports custom regex replacements and custom commands that run after linting a single file. The <a href="https://platers.github.io/obsidian-linter/" target="_blank" rel="noreferrer">full rule reference</a> shows a before-and-after example for every rule, which is the fastest way to decide what belongs in your vault. The payoff isn't prettier Markdown. It's queries you can trust, because every note finally speaks the same dialect.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>plugins</category>
            <category>markdown</category>
            <category>workflows</category>
            <category>community-plugins</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-linter-plugin-consistent-frontmatter-without-the-discipline.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Bases Kanban: A Board That Is Just Your Notes]]></title>
            <link>https://danholloran.me/posts/obsidian-bases-kanban-a-board-that-is-just-your-notes</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-bases-kanban-a-board-that-is-just-your-notes</guid>
            <pubDate>Fri, 02 Oct 2026 09:15:30 GMT</pubDate>
            <description><![CDATA[Obsidian 1.14 adds a native kanban layout to Bases. Here's how to build a board where dragging a card rewrites a property, and where it still falls short.]]></description>
            <content:encoded><![CDATA[<p>If you've ever run a project board with the community Kanban plugin, you know the quiet problem with it. The board is its own Markdown file. Your project notes say <code>status: drafting</code>, the board says the card is in &quot;Review&quot;, and nothing keeps the two in sync except you. Move a card and the note doesn't change. Edit the note and the board doesn't notice.</p>
<p>Obsidian 1.14, currently in early access for Catalyst supporters, fixes this at the root. Bases now has a <strong>kanban layout</strong>, and because it's a Bases view rather than a separate file, the board is just a lens over your notes. Drag a card to a new column and Obsidian rewrites the property in that note's frontmatter. There's no second source of truth to drift.</p>
<h2 id="building-your-first-board" tabindex="-1">Building your first board <a class="header-anchor" href="#building-your-first-board" aria-label="Permalink to &quot;Building your first board&quot;">&ZeroWidthSpace;</a></h2>
<p>You need two things: notes that represent the work, and a property that represents the stage. A minimal project note looks like this:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> project</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">status</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> drafting</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">due</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 2026-10-15</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">owner</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">[[Dan]]</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span></code></pre>
</div><p>Then create a base (or open an existing one) and add the view:</p>
<ol>
<li>Open the view menu and choose <strong>Add view → Kanban</strong>.</li>
<li>Open the <strong>Group</strong> menu in the toolbar and pick <code>status</code>. Each distinct value becomes a column.</li>
<li>Use <strong>Properties</strong> to choose what shows on each card, like <code>due</code> and <code>owner</code>.</li>
</ol>
<p>Like every base, the configuration lives in plain YAML in the <code>.base</code> file, so you can version it or tweak it by hand. A board scoped to one folder looks roughly like this:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">filters</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  and</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> file.inFolder("Projects")</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    -</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">type == "project"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">views</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-77771c shk-dark-dada93"> type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> kanban</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    name</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> Board</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    groupBy</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">      property</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> note.status</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">      direction</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> ASC</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">    order</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> file.name</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> note.due</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">      -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> note.owner</span></span></code></pre>
</div><p>The filter matters more than it looks. Bases include every file in the vault by default, so without <code>file.inFolder</code> or a <code>type</code> check your board will happily sprout a column called &quot;(empty)&quot; full of every note that has no <code>status</code> at all.</p>
<h2 id="where-it-beats-the-kanban-plugin" tabindex="-1">Where it beats the Kanban plugin <a class="header-anchor" href="#where-it-beats-the-kanban-plugin" aria-label="Permalink to &quot;Where it beats the Kanban plugin&quot;">&ZeroWidthSpace;</a></h2>
<p><strong>The drag is the edit.</strong> This is the whole point. Moving a card from &quot;drafting&quot; to &quot;review&quot; sets <code>status: review</code> in the note. Any other base, Dataview query, or search that reads <code>status</code> sees the change immediately. People used to bolt on helper plugins to get this behavior from the old Kanban plugin, and they didn't always fire.</p>
<p><strong>Folders can be columns too.</strong> As of 1.14.2, if you group by <code>file.folder</code>, dragging a card physically moves the file into that folder, and creating a note from inside a column puts it in the matching folder. That turns a board into a visual inbox triage: columns for <code>Inbox</code>, <code>Projects</code>, <code>Archive</code>, and you sort by dragging. It also fixes an early complaint that new notes created from the board landed in the vault root and vanished from a folder-filtered view.</p>
<p><strong>It's one view among many.</strong> The same base can hold a table view for bulk editing due dates, a cards view for browsing, and the kanban for flow. They share filters and formulas, so a formula like this works in all of them:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">formulas</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">  overdue</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">if(due &#x26;&#x26; due &#x3C; today(), "Overdue", "")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span></span></code></pre>
</div><p>Add <code>formula.overdue</code> to the card properties and late work flags itself without any plugin.</p>
<p><strong>It works on mobile.</strong> Native views don't depend on a plugin keeping up with the mobile app, and the 1.14.x releases have been steadily fixing mobile kanban quirks like columns resizing when the keyboard opens.</p>
<h2 id="where-it-still-falls-short" tabindex="-1">Where it still falls short <a class="header-anchor" href="#where-it-still-falls-short" aria-label="Permalink to &quot;Where it still falls short&quot;">&ZeroWidthSpace;</a></h2>
<p>It's honest to say this is a first release, and a few gaps matter if you run real projects on it.</p>
<ul>
<li><strong>One grouping property.</strong> Columns come from a single property. No swimlanes, no grouping by status and owner at once.</li>
<li><strong>Cards are notes, not checkboxes.</strong> Every card is a file. If your tasks live as <code>- [ ]</code> items inside a project note, they won't appear. For that, the Tasks plugin or a Dataview <code>TASK</code> query is still the better tool.</li>
<li><strong>No manual card order.</strong> Cards sort by whatever the view's sort says. You can't drag a card to the top of a column to mean &quot;do this next.&quot; A workaround is a numeric <code>priority</code> property used as the sort key.</li>
<li><strong>Column order needed help.</strong> Early builds dropped empty columns and re-added them at the end. Version 1.14.3 added a <strong>Group</strong> menu where you can add, hide, and reorder groups by hand, and 1.14.4 added <strong>Hide column</strong> to the column's right-click menu, which makes stable layouts much easier.</li>
</ul>
<p>If your workflow depends on manual prioritization within a column, keep the plugin for now. If your projects already live as one note each and the status is what you care about, the native board is the cleaner model.</p>
<h2 id="wrapping-up" tabindex="-1">Wrapping up <a class="header-anchor" href="#wrapping-up" aria-label="Permalink to &quot;Wrapping up&quot;">&ZeroWidthSpace;</a></h2>
<p>The kanban layout is the clearest example yet of why Bases matters: your notes and their properties are the data, and every view is just a way of looking at them. Start small. Pick one folder of notes that already share a <code>status</code> property, add a kanban view to a base, and drag one card. Then open the note and watch the frontmatter change. For the full set of filters and formulas you can layer on, the <a href="https://obsidian.md/help/bases/syntax" target="_blank" rel="noreferrer">Bases syntax docs</a> are the reference, and the <a href="https://obsidian.md/changelog/2026-09-02-desktop-v1.14.0/" target="_blank" rel="noreferrer">1.14 changelog</a> tracks what's landed so far.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>productivity</category>
            <category>workflows</category>
            <category>bases</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-bases-kanban-a-board-that-is-just-your-notes.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian File Recovery: The Undo Button You Forgot You Had]]></title>
            <link>https://danholloran.me/posts/obsidian-file-recovery-the-undo-button-you-forgot-you-had</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-file-recovery-the-undo-button-you-forgot-you-had</guid>
            <pubDate>Tue, 29 Sep 2026 09:15:24 GMT</pubDate>
            <description><![CDATA[Obsidian quietly snapshots your notes every few minutes. Here's how File recovery works, how to restore a lost paragraph, and why it still isn't a backup.]]></description>
            <content:encoded><![CDATA[<p>You select a heading, hit a hotkey you meant for something else, and three paragraphs vanish. Or a sync client gets confused and a note you edited this morning comes back as last week's version. Undo is gone because you closed the tab an hour ago. The note is saved, the damage is saved with it, and you start rewriting from memory.</p>
<p>Most people who hit this never realize Obsidian was already holding a copy. The File recovery core plugin has been taking snapshots of your notes in the background the whole time. It is on by default in most vaults, it has no ribbon icon, and it only shows up when you go looking for it. That is exactly the moment you should not be learning how it works.</p>
<h2 id="what-file-recovery-actually-saves" tabindex="-1">What File recovery actually saves <a class="header-anchor" href="#what-file-recovery-actually-saves" aria-label="Permalink to &quot;What File recovery actually saves&quot;">&ZeroWidthSpace;</a></h2>
<p>File recovery is a <strong>core plugin</strong>, not a community one, so there is nothing to install. Check that it is enabled under <strong>Settings → Core plugins → File recovery</strong>.</p>
<p>When it is on, Obsidian saves a full copy of a note whenever the file changes, with a minimum gap between snapshots. Two settings control the behavior:</p>
<div class="table-scroll">
<table>
<thead>
<tr>
<th>Setting</th>
<th>Default</th>
<th>What it means</th>
</tr>
</thead>
<tbody>
<tr>
<td>Snapshot interval</td>
<td>5 minutes</td>
<td>Minimum time between two snapshots of the same file</td>
</tr>
<tr>
<td>History length</td>
<td>7 days</td>
<td>How long snapshots are kept before being deleted</td>
</tr>
</tbody>
</table>
</div>
<p>A few details matter more than they look:</p>
<ul>
<li><strong>Snapshots are full copies, not diffs.</strong> Any snapshot can be restored on its own.</li>
<li><strong>Unchanged files cost nothing.</strong> A note you never touch does not get a new snapshot every five minutes.</li>
<li><strong>Only <code>.md</code> and <code>.canvas</code> files are covered.</strong> Images, PDFs, and other attachments are not.</li>
<li><strong>Snapshots live outside the vault</strong>, in Obsidian's global settings folder. That is deliberate: if the vault folder itself gets wiped, the history survives.</li>
</ul>
<p>That last point has a catch. Snapshots are tied to the note's absolute path, so if you move your vault by dragging the folder around in Finder instead of using the vault switcher, older snapshots may stop showing up. They are also local to each device. Obsidian Sync, iCloud, and Git do not carry them between machines, so the snapshot you need lives on whichever device you were typing on.</p>
<h2 id="getting-a-paragraph-back" tabindex="-1">Getting a paragraph back <a class="header-anchor" href="#getting-a-paragraph-back" aria-label="Permalink to &quot;Getting a paragraph back&quot;">&ZeroWidthSpace;</a></h2>
<p>There are two ways in, and the faster one is the one nobody mentions.</p>
<p><strong>From the note you are looking at:</strong> open the command palette (<code>Cmd/Ctrl + P</code>) and run <strong>File recovery: Open local history</strong>. You get the snapshot list for the current note immediately. Bind it to a hotkey under <strong>Settings → Hotkeys</strong> if you want a real &quot;oh no&quot; button.</p>
<p><strong>From settings, for any file</strong> (including ones you deleted):</p>
<ol>
<li>Open <strong>Settings → Core plugins → File recovery</strong>.</li>
<li>Next to <strong>Snapshots</strong>, select <strong>View</strong>.</li>
<li>Start typing the file name and pick it from the suggestions.</li>
<li>Choose a snapshot from the list.</li>
</ol>
<p>Either way you land in the same viewer. Toggle <strong>Show changes</strong> to see a diff of what was added or removed between versions. Then pick one of two actions:</p>
<ul>
<li><strong>Copy</strong> puts that version on your clipboard. This is the one you want most of the time: paste the lost paragraph back into the current note and keep everything you wrote since.</li>
<li><strong>Restore</strong> replaces the whole file with the snapshot. Use it when the current version is simply wrong, like a sync conflict that clobbered the note.</li>
</ul>
<p>Because the viewer searches by file name rather than by what is currently in the vault, it is also the first place to look when a note was deleted outright, as long as it still falls inside the history window.</p>
<h2 id="tuning-it-without-overthinking-it" tabindex="-1">Tuning it without overthinking it <a class="header-anchor" href="#tuning-it-without-overthinking-it" aria-label="Permalink to &quot;Tuning it without overthinking it&quot;">&ZeroWidthSpace;</a></h2>
<p>The defaults are reasonable, but seven days is short if you only notice damage during a weekly review. A sensible starting point:</p>
<ul>
<li><strong>History length: 14 to 30 days.</strong> Long enough to cover a missed weekly review or a vacation.</li>
<li><strong>Snapshot interval: 2 to 5 minutes.</strong> Shorter means finer-grained recovery during heavy writing sessions.</li>
</ul>
<p>Resist the urge to crank it to years. File recovery is a short-term safety net, and treating it like an archive just moves the storage problem somewhere you will not see it.</p>
<p>If you want a nicer interface on top of the same data, the community plugin <a href="https://github.com/dsebastien/obsidian-time-machine" target="_blank" rel="noreferrer">Time Machine</a> reads File recovery snapshots (and Git commits, if your vault is a repo) and puts them on a scrubbable timeline with selective restore. It is optional; the core viewer does the job.</p>
<h2 id="it-is-not-your-backup" tabindex="-1">It is not your backup <a class="header-anchor" href="#it-is-not-your-backup" aria-label="Permalink to &quot;It is not your backup&quot;">&ZeroWidthSpace;</a></h2>
<p>Obsidian's own documentation is blunt about this: File recovery is not a complete backup solution. It does not cover attachments, it does not leave the device, and it forgets everything after the history window closes. If your laptop dies, the snapshots die with it.</p>
<p>Think of it as one layer in a stack:</p>
<ul>
<li><strong>File recovery</strong> catches &quot;I just broke this note&quot; within the last few days, on this device.</li>
<li><strong>Sync history</strong> covers longer windows across devices. Obsidian Sync keeps note versions for 1 month on Standard and 12 months on Plus.</li>
<li><strong>A real backup</strong> (Git, Time Machine on macOS, or any off-device copy) covers the machine itself.</li>
</ul>
<p>If you have not thought about the second and third layers yet, <a href="https://danholloran.me/posts/obsidian-sync-vs-git-vs-icloud-choosing-a-vault-sync-strategy" target="_blank" rel="noreferrer">my comparison of Obsidian Sync, Git, and iCloud</a> is a good place to start.</p>
<p>Right now, take thirty seconds: confirm File recovery is enabled, bump the history length to a couple of weeks, and bind <strong>Open local history</strong> to a hotkey. The next time a paragraph disappears, you will spend ten seconds getting it back instead of an hour rewriting it. The <a href="https://obsidian.md/help/plugins/file-recovery" target="_blank" rel="noreferrer">official File recovery docs</a> cover the rest.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>plugins</category>
            <category>workflows</category>
            <category>file-recovery</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-file-recovery-the-undo-button-you-forgot-you-had.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[The Obsidian CLI: Script Your Vault From the Terminal]]></title>
            <link>https://danholloran.me/posts/the-obsidian-cli-script-your-vault-from-the-terminal</link>
            <guid isPermaLink="false">https://danholloran.me/posts/the-obsidian-cli-script-your-vault-from-the-terminal</guid>
            <pubDate>Fri, 25 Sep 2026 09:15:09 GMT</pubDate>
            <description><![CDATA[Obsidian 1.12 ships an official command line interface. Here's how to capture notes, query tasks and Bases, and run vault health checks from shell scripts.]]></description>
            <content:encoded><![CDATA[<p>For years, automating Obsidian from outside the app meant picking your poison. You could write directly to the Markdown files and hope Obsidian noticed, lean on Obsidian URIs that open windows you did not ask for, or install a community plugin that exposes a local REST API. All of them worked, sort of, and none of them understood your vault the way Obsidian does: how wikilinks resolve, which note is today's daily note, what your templates expand to.</p>
<p>Obsidian 1.12 closed that gap with an official command line interface. It ships inside the app, it talks to the running Obsidian instance, and according to the <a href="https://obsidian.md/help/cli" target="_blank" rel="noreferrer">official docs</a> &quot;anything you can do in Obsidian you can do from the command line.&quot; If you live in a terminal, this changes how your vault fits into the rest of your tooling.</p>
<h2 id="turning-it-on" tabindex="-1">Turning It On <a class="header-anchor" href="#turning-it-on" aria-label="Permalink to &quot;Turning It On&quot;">&ZeroWidthSpace;</a></h2>
<p>The CLI needs the 1.12 <strong>installer</strong>, not just an in-app update. If you have been updating in place for a while, download a fresh installer (1.12.7 or later) first. Then:</p>
<ol>
<li>Go to <strong>Settings → General</strong>.</li>
<li>Enable <strong>Command line interface</strong>.</li>
<li>Follow the prompt to register the CLI on your PATH.</li>
</ol>
<p>On macOS this creates a symlink at <code>/usr/local/bin/obsidian</code> (you will get an admin prompt). On Linux it copies the binary to <code>~/.local/bin/obsidian</code>, so make sure that directory is on your PATH. Restart your terminal afterward.</p>
<p>One thing to internalize early: <strong>the CLI is a remote control, not a headless engine.</strong> Obsidian has to be running. If it is not, the first command launches it. That matters for automation, which we will get to below.</p>
<p>Run <code>obsidian</code> with no arguments to open the interactive TUI, which has autocomplete, command history, and <code>Ctrl+R</code> reverse search. Or run single commands directly, which is what you want for scripts.</p>
<h2 id="everyday-commands-that-replace-clicking" tabindex="-1">Everyday Commands That Replace Clicking <a class="header-anchor" href="#everyday-commands-that-replace-clicking" aria-label="Permalink to &quot;Everyday Commands That Replace Clicking&quot;">&ZeroWidthSpace;</a></h2>
<p>Commands take <code>key=value</code> parameters and bare flags. The ones I reach for most are around capture and lookup:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Drop a task into today's daily note without switching windows</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> daily:append</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> content=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">- [ ] Review PR for the auth refactor</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Create a note from a template</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> create</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> name=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Weekly Review 2026-W39</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> template=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Weekly Review</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Find notes and show matching lines, grep style</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> search:context</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> query=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">rate limiting</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> limit=</span><span class="shk-light-337e85 shk-dark-87c4cd">10</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Every open task in the vault</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> tasks</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> todo</span></span></code></pre>
</div><p>File targeting is smarter than a raw path. <code>file=Recipe</code> resolves the same way a <code>[[Recipe]]</code> wikilink does, so you do not need the folder or extension. Use <code>path=</code> when you need to be exact. And if your terminal is sitting inside a vault folder, that vault is the default target; otherwise prefix the command with <code>vault=&quot;My Vault&quot;</code>.</p>
<p>Properties are scriptable too, which is handy for bulk metadata changes you would otherwise do one note at a time:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> property:set</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> file=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Project Atlas</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> name=status</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> value=shipped</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> property:read</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> file=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Project Atlas</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> name=status</span></span></code></pre>
</div><p>Add <code>--copy</code> to any command to send its output to the clipboard instead of reading it off the screen.</p>
<h2 id="getting-data-out-bases-tasks-and-links-as-json" tabindex="-1">Getting Data Out: Bases, Tasks, and Links as JSON <a class="header-anchor" href="#getting-data-out-bases-tasks-and-links-as-json" aria-label="Permalink to &quot;Getting Data Out: Bases, Tasks, and Links as JSON&quot;">&ZeroWidthSpace;</a></h2>
<p>The capture commands are nice. The query commands are where the CLI starts earning its place in real scripts, because many of them accept <code>format=json</code>, <code>csv</code>, or <code>tsv</code>.</p>
<p>If you have been building views with <a href="https://obsidian.md/help/bases" target="_blank" rel="noreferrer">Bases</a>, you can now query them from outside the app:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Export a Bases view as CSV for a spreadsheet or report</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> base:query</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> file=Reading</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> view=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Finished</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> format=csv</span><span class="shk-light-4475b7 shk-dark-99bdea"> ></span><span class="shk-light-2e7d32 shk-dark-a9ce93"> finished-books.csv</span></span></code></pre>
</div><p>Link and structure commands make vault maintenance measurable. <code>orphans</code> lists notes nothing links to, <code>deadends</code> lists notes that link nowhere, and <code>unresolved</code> lists links pointing at notes that do not exist yet. Each takes a <code>total</code> flag to return just a count. That is enough to build a small health check:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic">#!/usr/bin/env bash</span></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># vault-health.sh: append link-hygiene stats to today's daily note</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">ORPHANS</span><span class="shk-light-4475b7 shk-dark-99bdea">=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">$(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> orphans</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> total</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">DEADENDS</span><span class="shk-light-4475b7 shk-dark-99bdea">=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">$(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> deadends</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> total</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">UNRESOLVED</span><span class="shk-light-4475b7 shk-dark-99bdea">=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">$(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> unresolved</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> total</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">OPEN_TASKS</span><span class="shk-light-4475b7 shk-dark-99bdea">=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">$(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> tasks</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> todo</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> total</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">obsidian</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> daily:append</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> content=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">## Vault health\n- Orphans: </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">ORPHANS</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93">\n- Dead ends: </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">DEADENDS</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93">\n- Unresolved links: </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">UNRESOLVED</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93">\n- Open tasks: </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">OPEN_TASKS</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}"</span></span></code></pre>
</div><p>Schedule it with cron or launchd on a Monday morning and you get a running record of whether your vault is getting more connected or quietly fragmenting. Just remember the remote-control rule: if Obsidian is closed, the script will launch it. Schedule for a time when that is fine, or check with <code>pgrep</code> first.</p>
<p>For plugin and theme authors, there is a whole set of developer commands: <code>plugin:reload</code>, <code>dev:console</code>, <code>dev:errors</code>, <code>dev:screenshot</code>, and <code>eval</code> for running JavaScript against the <code>app</code> object. These are what make it practical for an AI coding agent to reload your plugin, read the console, and check its own work without you clicking anything.</p>
<h2 id="when-not-to-reach-for-it" tabindex="-1">When Not to Reach for It <a class="header-anchor" href="#when-not-to-reach-for-it" aria-label="Permalink to &quot;When Not to Reach for It&quot;">&ZeroWidthSpace;</a></h2>
<p>The CLI is not a sync or server tool. If you need to process a vault on a machine where no desktop app will ever run, it is the wrong layer; plain file access, Git, or Obsidian's separate headless sync option fit better. It also inherits your app state, so a command like <code>delete</code> or <code>plugin:uninstall</code> really does what it says. Test destructive scripts against a copy of your vault first, and prefer the default trash behavior over the <code>permanent</code> flag.</p>
<p>The best way to start is small. Pick one thing you do by hand every day (appending a task, checking what is still open, exporting a view) and turn it into a one-line shell alias. Run <code>obsidian help</code> to see the full list, then read the <a href="https://obsidian.md/help/cli" target="_blank" rel="noreferrer">CLI reference</a> for every parameter. Once your vault answers to the terminal, it stops being an island and starts behaving like the rest of your toolchain.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>productivity</category>
            <category>workflows</category>
            <category>obsidian-for-developers</category>
            <enclosure url="https://danholloran.me/images/posts/the-obsidian-cli-script-your-vault-from-the-terminal.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Bookmarks: The Core Plugin That Replaces Your Dashboard Note]]></title>
            <link>https://danholloran.me/posts/obsidian-bookmarks-the-core-plugin-that-replaces-your-dashboard-note</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-bookmarks-the-core-plugin-that-replaces-your-dashboard-note</guid>
            <pubDate>Tue, 22 Sep 2026 09:16:05 GMT</pubDate>
            <description><![CDATA[Bookmarks can pin saved searches, headings, blocks, and whole tab groups, not just three notes, which makes the hand-maintained dashboard note redundant.]]></description>
            <content:encoded><![CDATA[<p>Almost everyone who has used Obsidian for more than a month has built the same note. It's called <code>Home</code> or <code>Dashboard</code> or <code>000 Index</code>, it's a pile of wikilinks to the things you open most, and you stopped updating it months ago. It probably still links to a project that shipped two years back, under a heading called &quot;Read Later&quot; with nothing beneath it.</p>
<p>The thing that should have replaced it was sitting in the sidebar the whole time. Bookmarks is a core plugin — no install, no community plugin risk — and it's the direct descendant of the old Starred plugin, which is probably why people assume it does what Starred did: pin a file, see the file in a list. It does considerably more than that, and the extra targets are what make it a real navigation layer instead of a favorites list.</p>
<h2 id="you-can-bookmark-things-that-aren-t-files" tabindex="-1">You can bookmark things that aren't files <a class="header-anchor" href="#you-can-bookmark-things-that-aren-t-files" aria-label="Permalink to &quot;You can bookmark things that aren't files&quot;">&ZeroWidthSpace;</a></h2>
<p>The full list of bookmarkable targets is files, folders, graphs, searches, headings, blocks, and links. That's from the <a href="https://obsidian.md/help/plugins/bookmarks" target="_blank" rel="noreferrer">official docs</a>, and each one past &quot;files&quot; changes how you'd use the plugin.</p>
<p><strong>Saved searches</strong> are the sleeper feature. Run a search, click the three-dot icon under the search field next to the result count, and hit <strong>Bookmark</strong>. Now a live query lives in your sidebar. Something like:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>tag:#project -tag:#archived path:"Work"</span></span></code></pre>
</div><p>That's a permanently up-to-date list of active work projects that you never maintain. Compare that to a dashboard note, where the equivalent is a Dataview block you have to open a file to see, or worse, a manually curated list of links that rots.</p>
<p><strong>Headings and blocks</strong> solve the &quot;long note&quot; problem. Right-click a heading and choose <strong>Bookmark this heading</strong>; for a block, put your cursor in it and run <strong>Bookmark block under cursor</strong> from the command palette. If you keep a 4,000-word running note for a client, you can pin the <em>Open Questions</em> heading and land there directly instead of scrolling from the top every time.</p>
<p><strong>Graphs</strong> are bookmarkable too — right-click the graph view's tab and select <strong>Bookmark</strong>. Global graphs only; local graphs can't be pinned. This matters if you've ever spent ten minutes tuning filters, color groups, and force settings only to lose all of it on the next restart. Bookmark the configured graph and it comes back exactly as you left it.</p>
<p><strong>Tab groups</strong> are the capability I see mentioned least. In the upper-right of a tab group there's a down arrow, and inside it, <strong>Bookmark 3 tabs</strong> (with whatever your count is). That captures an entire working layout in one item. A &quot;Weekly Review&quot; bookmark can open four tabs at once: the review template, the current daily note, a saved search for overdue tasks, and the project MOC you always end up in anyway.</p>
<h2 id="groups-turn-it-into-a-tree" tabindex="-1">Groups turn it into a tree <a class="header-anchor" href="#groups-turn-it-into-a-tree" aria-label="Permalink to &quot;Groups turn it into a tree&quot;">&ZeroWidthSpace;</a></h2>
<p>A flat list of twenty bookmarks is as useless as a flat list of twenty notes. Click <strong>New bookmark group</strong> at the top of the Bookmarks tab, then drag items into it. Groups nest, so you can model whatever hierarchy you actually think in — Work / Client A / Active, or Writing / Drafts / Ready to Edit — without committing to it in your folder structure.</p>
<p>That last part is the real argument. Folders force one hierarchy on every note. Bookmark groups give you a <em>second</em>, throwaway hierarchy on top, scoped to what you're working on this month, and you can blow it away without touching a single file. Deleting a bookmark group removes the group and everything in it, but the notes are untouched.</p>
<p>One caveat worth knowing: what the bookmark points at is a path, not an identity. Everything lives in <code>.obsidian/bookmarks.json</code>, and the entries store paths and titles. Rename or move a bookmarked file outside Obsidian and you get a dead entry. There's a <a href="https://forum.obsidian.md/t/bug-the-bookmarks-core-plugin-leaves-invalid-data-behind-in-bookmarks-json/116119" target="_blank" rel="noreferrer">known bug</a> where deleting a nested folder leaves orphaned items in the JSON that no longer render in the UI, so if your bookmarks file looks suspiciously large, it may be carrying ghosts.</p>
<p>The other thing to be clear about: these are not web bookmarks. Bookmarks pins things <em>inside</em> your vault. You can pin a URL, but only by enabling the Web viewer core plugin first, opening the page in Obsidian's own browser, and bookmarking from its address bar. If you want to save articles from Chrome, that's Web Clipper's job, not this one.</p>
<h2 id="where-to-start" tabindex="-1">Where to start <a class="header-anchor" href="#where-to-start" aria-label="Permalink to &quot;Where to start&quot;">&ZeroWidthSpace;</a></h2>
<p>Enable Bookmarks in <strong>Settings → Core plugins</strong> if it isn't already on, then do one thing: take whatever list of links is in your stale dashboard note, bookmark each target properly, and delete the note. Give the Bookmarks tab a hotkey while you're there. If it feels thin afterward, add one saved search — the query you type more than twice a week — and see whether you open the sidebar more than you expected.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>workflows</category>
            <category>productivity</category>
            <category>bookmarks</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-bookmarks-the-core-plugin-that-replaces-your-dashboard-note.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Attachments: Take Control of Where Your Files Actually Go]]></title>
            <link>https://danholloran.me/posts/obsidian-attachments-take-control-of-where-your-files-go</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-attachments-take-control-of-where-your-files-go</guid>
            <pubDate>Fri, 18 Sep 2026 09:08:29 GMT</pubDate>
            <description><![CDATA[Obsidian drops pasted images wherever its default says, usually the vault root. Here's how the attachment settings interact, and how to clean up the pile.]]></description>
            <content:encoded><![CDATA[<p>Open the file explorer in a vault you have used for a year and scroll to the bottom. If you see a wall of files named <code>Pasted image 20260918020412.png</code> sitting at the root next to your actual notes, you are not doing anything wrong. That is the default. Obsidian ships with new attachments going to the vault folder, and every screenshot, diagram, and dragged-in PDF has been piling up there since the day you started.</p>
<p>The fix is two settings that most people change once, badly, and never revisit. They are worth understanding together, because picking one without the other is how you end up with a tidy attachments folder full of broken embeds.</p>
<h2 id="the-four-attachment-locations" tabindex="-1">The four attachment locations <a class="header-anchor" href="#the-four-attachment-locations" aria-label="Permalink to &quot;The four attachment locations&quot;">&ZeroWidthSpace;</a></h2>
<p>Everything lives under <strong>Settings → Files and links → Default location for new attachments</strong>, and there are exactly four options:</p>
<ul>
<li><strong>Vault folder</strong> — the root. The default, and the source of the mess described above.</li>
<li><strong>In the folder specified below</strong> — one central folder for every attachment in the vault, commonly <code>attachments/</code> or <code>_files/</code>.</li>
<li><strong>Same folder as current file</strong> — the attachment lands beside the note that embeds it.</li>
<li><strong>In subfolder under current folder</strong> — a named subfolder next to the note, created on demand if it does not exist.</li>
</ul>
<p>The real decision is whether attachments are a <strong>library</strong> or <strong>part of the note</strong>. A central folder treats them as a library: one place to back up, one place to scan for junk, and no stray image folders cluttering your note tree. The cost is that filenames now have to be unique across the whole vault, and nothing in that folder tells you which note an image belongs to.</p>
<p>Same-folder and subfolder treat attachments as part of the note. Move a project folder and its images travel with it. Delete the folder and you delete its attachments too, with no orphans left behind. The cost is that your file explorer fills with small folders, and a note that lives in three places over its life leaves attachments scattered along the way.</p>
<p>If you are undecided, &quot;In subfolder under current folder&quot; with the subfolder name set to something that sorts out of the way is the safest default. Obsidian creates the folder only when you actually attach something, so notes without attachments stay clean:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>Projects/</span></span>
<span class="line"><span>  Rewrite the API/</span></span>
<span class="line"><span>    Rewrite the API.md</span></span>
<span class="line"><span>    _attachments/</span></span>
<span class="line"><span>      sequence-diagram.png</span></span></code></pre>
</div><h2 id="link-format-is-the-other-half-of-the-decision" tabindex="-1">Link format is the other half of the decision <a class="header-anchor" href="#link-format-is-the-other-half-of-the-decision" aria-label="Permalink to &quot;Link format is the other half of the decision&quot;">&ZeroWidthSpace;</a></h2>
<p>Directly above that setting is <strong>New link format</strong>, with three options: shortest path when possible, relative path to file, and absolute path in vault. It decides what Obsidian writes into <code>![[...]]</code> when you attach something, and it interacts with your location choice more than the settings screen suggests.</p>
<p>Shortest path pairs naturally with a central attachments folder, since one flat folder of uniquely named files is exactly the case where the shortest path is unambiguous. But it is also the format that bites you when two files share a name in different folders, because &quot;shortest&quot; stops being unique and Obsidian has to guess.</p>
<p>Relative paths pair with the same-folder and subfolder options. The link is written as <code>_attachments/diagram.png</code>, which means the note and its attachment folder can be moved, copied, or published as a self-contained unit, and the embed still resolves. That portability is the whole argument for keeping attachments next to notes.</p>
<p>One more toggle is doing quiet work underneath all of this: <strong>Automatically update internal links</strong>. Leave it on. It is what lets you drag an attachment to a new folder in the file explorer and have every embed pointing at it rewritten in place, which is what makes the cleanup below survivable at all.</p>
<h2 id="cleaning-up-what-you-already-have" tabindex="-1">Cleaning up what you already have <a class="header-anchor" href="#cleaning-up-what-you-already-have" aria-label="Permalink to &quot;Cleaning up what you already have&quot;">&ZeroWidthSpace;</a></h2>
<p>Changing the setting only affects new attachments. The existing pile needs a migration, and the safe order is:</p>
<ol>
<li><strong>Commit or back up first.</strong> If your vault is in git, this is a one-line insurance policy. If it is not, copy the folder somewhere before you start.</li>
<li><strong>Confirm &quot;Automatically update internal links&quot; is on</strong>, then move attachments inside Obsidian's own file explorer, not in Finder or Explorer. Obsidian only rewrites links for moves it can see. Files moved behind its back leave broken embeds everywhere.</li>
<li><strong>Find the orphans.</strong> Attachments nothing links to are invisible in the graph and easy to miss. Community plugins like Consistent Attachments and Links, VaultPrune, and File Cleaner all scan for unreferenced files and let you review the list before anything is trashed. Review it properly. An &quot;orphan&quot; is often a file referenced by a raw Markdown path the scanner did not parse.</li>
</ol>
<p>Budget twenty minutes, do it once, and the setting you picked at the top keeps it from happening again. Obsidian's own <a href="https://help.obsidian.md/attachments" target="_blank" rel="noreferrer">Attachments help page</a> is a good reference for the location options if you want to read the official wording before committing.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>workflows</category>
            <category>linking</category>
            <category>plugins</category>
            <category>vault-organization-strategies</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-attachments-take-control-of-where-your-files-go.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Unlinked Mentions: The Half of the Backlinks Pane You Ignore]]></title>
            <link>https://danholloran.me/posts/obsidian-unlinked-mentions-the-half-of-the-backlinks-pane-you-ignore</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-unlinked-mentions-the-half-of-the-backlinks-pane-you-ignore</guid>
            <pubDate>Tue, 15 Sep 2026 09:08:13 GMT</pubDate>
            <description><![CDATA[Linked mentions show the connections you remembered to make. Unlinked mentions show the ones you made without noticing, and they are the more interesting half.]]></description>
            <content:encoded><![CDATA[<p>Linking in Obsidian is an act of memory. You are writing about deployment pipelines, you remember you have a note on blue-green deploys, you type <code>[[</code> and the connection exists. The system works exactly as well as your recall does on that particular afternoon.</p>
<p>Which is to say: not that well. Six months into a vault, you have written the phrase &quot;rate limiting&quot; in thirty notes and linked it in four. The other twenty-six mentions are real connections. You made them. You just made them in prose instead of in syntax, and Obsidian's graph has no idea they happened.</p>
<p>The Backlinks pane already knows about all of them. It is the section underneath the one you actually read.</p>
<h2 id="linked-versus-unlinked-and-why-the-second-one-is-harder" tabindex="-1">Linked versus unlinked, and why the second one is harder <a class="header-anchor" href="#linked-versus-unlinked-and-why-the-second-one-is-harder" aria-label="Permalink to &quot;Linked versus unlinked, and why the second one is harder&quot;">&ZeroWidthSpace;</a></h2>
<p>The core Backlinks plugin splits the pane in two. <strong>Linked mentions</strong> are notes containing an internal link to the active note, which is the part everyone uses. <strong>Unlinked mentions</strong> are any unlinked occurrence of the active note's name anywhere in the vault.</p>
<p>That second definition is doing quiet, heavy work. Obsidian is running a full-text search for your note's title across every file, live, every time you switch notes. It is not a snapshot of your link graph. It is a standing query against the thing your link graph failed to capture.</p>
<p>The catch is that the query is only as good as the title. A note called <code>Rate Limiting</code> will surface genuine matches all over a backend vault. A note called <code>Notes</code> will surface several hundred and teach you nothing. And a daily note called <code>2026-04-12</code> will surface nothing at all, because nobody writes dates in prose.</p>
<p>This makes note titles load-bearing in a way that is easy to miss. Titles are not just labels for the Quick Switcher. They are the search terms Obsidian uses on your behalf, forever, in the background.</p>
<h2 id="aliases-are-how-you-widen-the-net" tabindex="-1">Aliases are how you widen the net <a class="header-anchor" href="#aliases-are-how-you-widen-the-net" aria-label="Permalink to &quot;Aliases are how you widen the net&quot;">&ZeroWidthSpace;</a></h2>
<p>Titles are singular and specific. Prose is not. You titled the note <code>Automated Market Maker</code> and then spent a year writing &quot;AMM&quot; everywhere, so unlinked mentions comes up empty.</p>
<p>Aliases fix this, because Obsidian resolves them the same way it resolves titles — in wikilink autocomplete, in the Quick Switcher, and in unlinked mentions:</p>
<div class="language-yaml vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">yaml</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">aliases</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> AMM</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> automated market makers</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  -</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> constant product market maker</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">---</span></span></code></pre>
</div><p>Now the pane catches every casual reference, not just the formal one. This is the highest-leverage thing you can do with unlinked mentions, and it costs about fifteen seconds per note. Add the plural. Add the acronym. Add the phrasing you actually type when you are moving fast and not thinking about your vault's architecture.</p>
<p>A caveat worth knowing: files matching your <strong>Excluded files</strong> patterns in Settings will not appear in Unlinked mentions at all. If a whole folder has gone silent in the pane, check there before assuming Obsidian is broken.</p>
<h2 id="making-it-a-habit-instead-of-a-curiosity" tabindex="-1">Making it a habit instead of a curiosity <a class="header-anchor" href="#making-it-a-habit-instead-of-a-curiosity" aria-label="Permalink to &quot;Making it a habit instead of a curiosity&quot;">&ZeroWidthSpace;</a></h2>
<p>The pane is in the right sidebar. If you cannot see it, open the Command palette and run <strong>Backlinks: Show backlinks</strong>. There are four controls worth knowing: <strong>Collapse results</strong> to see which notes matched before you read what matched, <strong>Show more context</strong> to get the full paragraph rather than a truncated line, <strong>Change sort order</strong>, and <strong>Show search filter</strong>, which lets you narrow results using the same search syntax as the global search.</p>
<p>Two workflow tweaks turn this from a thing you occasionally poke at into something that works on you:</p>
<p>First, run <strong>Backlinks: Toggle backlinks in document</strong> to move the pane to the bottom of the note itself, or enable <strong>Backlink in document</strong> in the plugin's settings to make that the default. Sidebars are easy to ignore. The end of a note you just finished writing is not.</p>
<p>Second, open a pinned backlinks tab for whatever you are actively developing. <strong>Backlinks: Open backlinks for the current note</strong> opens a tab bound to that specific note, so it keeps showing that note's mentions even as you navigate away. Leave it open while you write around a topic and watch the mentions accumulate in real time.</p>
<p>When you hover a result, Obsidian offers a link button that converts the mention in place. Resist the urge to convert all of them. A note with eighty backlinks is not better connected than one with twelve; it is just noisier, and it makes the graph view useless. Link the mentions where the sentence genuinely points at the other note's idea. Leave the incidental word-matches alone.</p>
<p>The real payoff is not a tidier graph anyway. It is the specific, slightly unsettling moment when a note you wrote last spring turns out to have been about the thing you are writing about today, and you had completely forgotten. Linked mentions can never show you that. They only show you what you already remembered.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>linking</category>
            <category>note-taking</category>
            <category>knowledge-management</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-unlinked-mentions-the-half-of-the-backlinks-pane-you-ignore.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian's Note Composer: Refactor Your Notes Without Copy-Paste]]></title>
            <link>https://danholloran.me/posts/obsidian-note-composer-refactor-your-notes-without-copy-paste</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-note-composer-refactor-your-notes-without-copy-paste</guid>
            <pubDate>Fri, 11 Sep 2026 09:07:54 GMT</pubDate>
            <description><![CDATA[Note composer is a core Obsidian plugin that merges notes and extracts selections into new ones, rewriting your links as it goes. Here's how to actually use it.]]></description>
            <content:encoded><![CDATA[<p>Every vault eventually grows a note that should have been five notes. It started as &quot;API Ideas,&quot; picked up a section on rate limiting, then a section on auth, then a running list of vendors you evaluated. Now you want to link to the rate limiting part from somewhere else, and you can't, because it isn't a note. It's a heading buried in a 900-word dumping ground.</p>
<p>The obvious fix is to select the section, cut it, create a new note, paste it, then go hunting for anything that linked to the old note to make sure nothing broke. That's four manual steps and one silent failure mode. Obsidian ships a core plugin that does all of it for you, and most people never turn it on.</p>
<h2 id="turning-it-on-and-what-it-actually-does" tabindex="-1">Turning it on and what it actually does <a class="header-anchor" href="#turning-it-on-and-what-it-actually-does" aria-label="Permalink to &quot;Turning it on and what it actually does&quot;">&ZeroWidthSpace;</a></h2>
<p>Note composer lives in <strong>Settings → Core plugins</strong>. No download, no community plugin risk, no supply chain to audit. Flip it on and you get two commands in the command palette:</p>
<ul>
<li><code>Note composer: Merge current file with another file...</code></li>
<li><code>Note composer: Extract current selection...</code></li>
</ul>
<p>Merge takes the note you're in, appends or prepends it to a destination note, deletes the original, and <strong>updates every link in your vault that pointed to the deleted note</strong> so they point at the destination instead. That last part is the whole reason to use it rather than copy-paste. Extract does the inverse: it takes whatever text you've highlighted and moves it into another note, new or existing.</p>
<p>Both commands are also available by right-clicking. Right-click a file in the File explorer for <strong>Merge entire file with...</strong>, or right-click a selection in the editor for <strong>Extract current selection...</strong>.</p>
<p>The modifier keys in the destination picker are where the real control is, and the dialog doesn't advertise them:</p>
<div class="table-scroll">
<table>
<thead>
<tr>
<th>Key</th>
<th>Behavior</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Enter</code></td>
<td>Add content to the <strong>end</strong> of the destination note</td>
</tr>
<tr>
<td><code>Shift+Enter</code></td>
<td>Add content to the <strong>start</strong> of the destination note</td>
</tr>
<tr>
<td><code>Ctrl+Enter</code> / <code>Cmd+Enter</code></td>
<td>Create a <strong>new</strong> note with the content</td>
</tr>
</tbody>
</table>
</div>
<p>So <code>Cmd+Enter</code> is your &quot;split this out into its own atomic note&quot; shortcut. Highlight the rate limiting section, run Extract, type the new name, hit <code>Cmd+Enter</code>. Done.</p>
<h2 id="the-setting-that-changes-the-workflow" tabindex="-1">The setting that changes the workflow <a class="header-anchor" href="#the-setting-that-changes-the-workflow" aria-label="Permalink to &quot;The setting that changes the workflow&quot;">&ZeroWidthSpace;</a></h2>
<p>By default, extracting leaves a link behind where the text used to be. Your original note keeps its shape, and the extracted section becomes a clickable pointer. That's usually what you want for a hub note that should stay readable as an outline.</p>
<p>But there are two other options in the plugin settings, and picking the right one per workflow matters more than it sounds:</p>
<ul>
<li><strong>Replace with link</strong> (default) — the outline stays intact, the detail moves out.</li>
<li><strong>Replace with embed</strong> — the original note still <em>renders</em> the full content via <code>![[Extracted Note]]</code>, so nothing visually changes, but the text now lives in exactly one place. This is the right choice when you're deduplicating: you want one source of truth without breaking a document someone reads top to bottom.</li>
<li><strong>Remove</strong> — leaves nothing behind. Use this when you're genuinely dismantling a note rather than refactoring it.</li>
</ul>
<p>Worth knowing before you start merging aggressively: Obsidian asks for confirmation on merges by default. If you disable that prompt to move faster and then merge the wrong pair, the <strong>File recovery</strong> core plugin still has snapshots of the deleted note. Enable File recovery before you disable the confirmation, not after.</p>
<h2 id="templates-make-extracted-notes-consistent" tabindex="-1">Templates make extracted notes consistent <a class="header-anchor" href="#templates-make-extracted-notes-consistent" aria-label="Permalink to &quot;Templates make extracted notes consistent&quot;">&ZeroWidthSpace;</a></h2>
<p>The piece that turns Note composer from a convenience into a real workflow is the <strong>Template file location</strong> setting. Point it at a template note and every extracted or merged note gets built from it instead of arriving as a bare wall of text.</p>
<p>The template supports four variables:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">created</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> date:YYYY-MM-DD</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">source</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">[[{{fromTitle}}]]</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">tags</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-2e7d32 shk-dark-a9ce93">atomic</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold">#</span><span class="shk-light-4475b7 shk-light-font-weight-bold shk-dark-99bdea shk-dark-font-weight-bold"> {{newTitle}}</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">{{content}}</span></span></code></pre>
</div><p><code>{{content}}</code> is the extracted text, <code>{{fromTitle}}</code> is the note it came from, <code>{{newTitle}}</code> is the new note's name, and <code>{{date:FORMAT}}</code> takes any Moment format string. If you leave <code>{{content}}</code> out entirely, Obsidian appends the content at the bottom of the template rather than dropping it.</p>
<p>That <code>source: &quot;[[{{fromTitle}}]]&quot;</code> line is doing quiet work. Every note you extract carries a backlink to its parent automatically, so your graph stays connected instead of accumulating orphans — which is the usual cost of splitting notes apart by hand.</p>
<h2 id="where-the-core-plugin-stops" tabindex="-1">Where the core plugin stops <a class="header-anchor" href="#where-the-core-plugin-stops" aria-label="Permalink to &quot;Where the core plugin stops&quot;">&ZeroWidthSpace;</a></h2>
<p>Two limits to know about. First, there's no built-in &quot;split this note at every heading&quot; command — the core plugin extracts one selection at a time. If you regularly need to atomize a long note in one pass, the community plugin <strong>Note Refactor</strong> has a split-by-headings command that covers H1 through H6.</p>
<p>Second, Note composer updates links to the note it moved, but it doesn't always fix <em>relative</em> links inside the content being moved. The community plugin <strong>Advanced Note Composer</strong> extends the core behavior specifically to rewrite those relative links so they don't break when content changes location. If your vault uses relative link resolution rather than shortest-path, that one is worth the install.</p>
<p>Neither is necessary to start. Turn on the core plugin, set up a three-line template, and the next time you hit a note that's outgrown itself, refactor it in about six seconds instead of six minutes.</p>
<p>Full details are in the <a href="https://help.obsidian.md/plugins/note-composer" target="_blank" rel="noreferrer">official Note composer documentation</a>.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>note-taking</category>
            <category>workflows</category>
            <category>vault-organization-strategies</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-note-composer-refactor-your-notes-without-copy-paste.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Semantic Search in Obsidian: What Embeddings Find That Keywords Miss]]></title>
            <link>https://danholloran.me/posts/semantic-search-in-obsidian-what-embeddings-find-that-keywords-miss</link>
            <guid isPermaLink="false">https://danholloran.me/posts/semantic-search-in-obsidian-what-embeddings-find-that-keywords-miss</guid>
            <pubDate>Tue, 08 Sep 2026 09:07:14 GMT</pubDate>
            <description><![CDATA[Obsidian's search operators are precise, but they only find notes when you remember the words you used.]]></description>
            <content:encoded><![CDATA[<p>You know the note exists. You wrote it maybe eight months ago, something about why a project stalled, and now you want it back. You open search, type <code>stalled</code>, get nothing. Try <code>blocked</code>. Nothing. Try <code>postmortem</code>. Two hits, both irrelevant. The note is sitting right there in the vault, and the only thing standing between you and it is that past-you called it &quot;the thing where we kept waiting on legal.&quot;</p>
<p>This is the failure mode Obsidian's search is structurally incapable of fixing, and it has nothing to do with the search being bad.</p>
<h2 id="keyword-search-is-a-vocabulary-contract" tabindex="-1">Keyword search is a vocabulary contract <a class="header-anchor" href="#keyword-search-is-a-vocabulary-contract" aria-label="Permalink to &quot;Keyword search is a vocabulary contract&quot;">&ZeroWidthSpace;</a></h2>
<p>Obsidian's core search is genuinely good. The operators are precise and composable, and most people never learn half of them:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>path:"Projects/" tag:#retro -tag:#archive line:(deadline OR slipped)</span></span></code></pre>
</div><p>That query is doing real work: scope to a folder, require one tag, exclude another, and match two terms that appear on the same line. No plugin needed. If you know the shape of what you're looking for, this beats anything fancier.</p>
<p>But every one of those terms is a literal. Lexical search ranks documents by how well the query's tokens overlap the document's tokens, with weighting for how rare each token is across the vault. It is a contract: you agree to search using the same words you wrote with. When you honor that contract, the results are fast and exact. When you break it, you get zero results and no hint that you were close.</p>
<p>The awkward part is that you break it constantly. Your vocabulary drifts across years. You paraphrase when you search, and quote when you write. Partial recall is the normal case, not the edge case.</p>
<h2 id="what-an-embedding-index-actually-stores" tabindex="-1">What an embedding index actually stores <a class="header-anchor" href="#what-an-embedding-index-actually-stores" aria-label="Permalink to &quot;What an embedding index actually stores&quot;">&ZeroWidthSpace;</a></h2>
<p>Semantic search plugins replace the token-overlap contract with a proximity one. Your notes get chunked and passed through an embedding model, which turns each chunk into a vector, a list of a few hundred numbers positioned so that text with similar meaning lands nearby. At query time your search phrase gets embedded the same way, and the plugin returns the chunks closest to it.</p>
<p><a href="https://github.com/brianpetro/obsidian-smart-connections" target="_blank" rel="noreferrer">Smart Connections</a> is the most established version of this in the community plugin browser. Two implementation details matter more than the marketing:</p>
<p><strong>It runs locally by default.</strong> It ships with a built-in embedding model, needs no API key, and writes vectors into a <code>.smart-env/</code> directory inside your vault. Nothing leaves the machine unless you deliberately point it at a hosted model. If you sync your vault, add that directory to your ignore list rather than shipping a few hundred megabytes of derived data between devices.</p>
<p><strong>It embeds blocks, not files.</strong> Chunking happens at the paragraph, list-item, and heading level, so a 4,000-word note contributes dozens of separately searchable units. This is why the Connections sidebar can surface a single relevant paragraph out of a long meeting note instead of just telling you the note is &quot;related.&quot; File-level embedding averages a note's meaning into mush; block-level embedding is what makes the feature useful.</p>
<p>For the stalled-project example, this works. &quot;Why did this project stall&quot; and &quot;we kept waiting on legal&quot; live near each other in vector space even though they share no words at all.</p>
<h2 id="proximity-is-not-meaning" tabindex="-1">Proximity is not meaning <a class="header-anchor" href="#proximity-is-not-meaning" aria-label="Permalink to &quot;Proximity is not meaning&quot;">&ZeroWidthSpace;</a></h2>
<p>Here is the part the plugin listings skip: closeness in vector space is a proxy for relatedness, not a definition of it. Two paragraphs that read similarly score high whether or not they are logically connected. Two that are causally linked score low if they are written in different registers, which is exactly what happens when a bullet-point meeting note and a polished essay describe the same decision.</p>
<p>So embeddings fail in the mirror-image way keywords do. Keyword search misses paraphrase. Vector search hallucinates relevance from surface style. Neither is a superset of the other.</p>
<p>Newer plugins have started treating that as the design premise rather than a bug. <a href="https://community.obsidian.md/plugins/vault-search" target="_blank" rel="noreferrer">VaultSearch</a> runs BM25 keyword matching, on-device vector similarity, and fuzzy title matching as three separate rankers, then merges them with reciprocal rank fusion. RRF is unglamorous and effective: instead of trying to normalize incompatible scores, it scores each result purely by its position in each list.</p>
<div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic">// k=60 is the conventional constant; it damps the top of each list</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> rrf</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-1a262c shk-dark-e5e5e5">rankLists</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> k </span><span class="shk-light-4475b7 shk-dark-99bdea">=</span><span class="shk-light-337e85 shk-dark-87c4cd"> 60</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> scores</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-4475b7 shk-dark-99bdea"> new</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> Map</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">();</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  for</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> list</span><span class="shk-light-4475b7 shk-dark-99bdea"> of</span><span class="shk-light-1a262c shk-dark-e5e5e5"> rankLists</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">    list</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">forEach</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">id</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> i</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">      scores</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">set</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">id</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-1a262c shk-dark-e5e5e5">scores</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">get</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">id</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> ??</span><span class="shk-light-337e85 shk-dark-87c4cd"> 0</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> +</span><span class="shk-light-337e85 shk-dark-87c4cd"> 1</span><span class="shk-light-4475b7 shk-dark-99bdea"> /</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-1a262c shk-dark-e5e5e5">k </span><span class="shk-light-4475b7 shk-dark-99bdea">+</span><span class="shk-light-1a262c shk-dark-e5e5e5"> i </span><span class="shk-light-4475b7 shk-dark-99bdea">+</span><span class="shk-light-337e85 shk-dark-87c4cd"> 1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">));</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    });</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  }</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  return</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-4475b7 shk-dark-99bdea">...</span><span class="shk-light-1a262c shk-dark-e5e5e5">scores</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">].</span><span class="shk-light-6b63c8 shk-dark-bab5ea">sort</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">a</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> b</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> b</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-337e85 shk-dark-87c4cd">1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea"> -</span><span class="shk-light-1a262c shk-dark-e5e5e5"> a</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-337e85 shk-dark-87c4cd">1</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]);</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">};</span></span></code></pre>
</div><p>A note that lands third in the keyword list and fifth in the vector list outranks one that took first in either alone. Agreement across methods is the signal.</p>
<h2 id="where-this-leaves-you" tabindex="-1">Where this leaves you <a class="header-anchor" href="#where-this-leaves-you" aria-label="Permalink to &quot;Where this leaves you&quot;">&ZeroWidthSpace;</a></h2>
<p>Don't install a semantic search plugin to replace core search. Learn the operators first, because for anything you can name precisely, they are faster and they never guess. Add embeddings for the other case: the note you can describe but not quote.</p>
<p>Two things to check first. Initial indexing on a large vault costs minutes and a fair amount of CPU, so kick it off when you aren't trying to work. And watch your plugin count: past roughly twenty active plugins, startup lag and note-switching latency get noticeable, especially on mobile. A semantic index is worth a slot. It is not worth three.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>plugins</category>
            <category>knowledge-management</category>
            <category>community-plugins</category>
            <enclosure url="https://danholloran.me/images/posts/semantic-search-in-obsidian-what-embeddings-find-that-keywords-miss.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian URI: Your Vault Has an API You're Not Using]]></title>
            <link>https://danholloran.me/posts/obsidian-uri-your-vault-has-an-api-youre-not-using</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-uri-your-vault-has-an-api-youre-not-using</guid>
            <pubDate>Tue, 01 Sep 2026 07:07:46 GMT</pubDate>
            <description><![CDATA[Obsidian ships with a custom URI protocol that lets scripts, browsers, and phone shortcuts read and write your vault without you touching the app.]]></description>
            <content:encoded><![CDATA[<p>Most Obsidian capture workflows stop at the app boundary. You have templates, hotkeys, maybe a QuickAdd macro that files things perfectly — and all of it requires you to already be in Obsidian. So the idea you had while reading a changelog in your browser goes into a scratch file, and the note you meant to append from a terminal never gets appended.</p>
<p>The fix has been sitting in the app since the beginning. Obsidian registers a custom URI protocol on your OS, which means anything that can open a link can also drive your vault. No plugin, no HTTP server, no API key.</p>
<h2 id="the-core-protocol-no-plugin-required" tabindex="-1">The core protocol, no plugin required <a class="header-anchor" href="#the-core-protocol-no-plugin-required" aria-label="Permalink to &quot;The core protocol, no plugin required&quot;">&ZeroWidthSpace;</a></h2>
<p>Obsidian URIs follow a single shape:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>obsidian://action?param1=value&#x26;param2=value</span></span></code></pre>
</div><p>The built-in actions are <code>open</code>, <code>new</code>, <code>daily</code>, <code>unique</code>, <code>search</code>, and <code>choose-vault</code>. That covers more than it sounds like:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Open a specific note</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">open</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian://open?vault=my%20vault&#x26;file=projects%2Froadmap</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Create a note with content, in a new tab</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">open</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian://new?vault=my%20vault&#x26;name=meeting%20notes&#x26;content=Hello&#x26;paneType=tab</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Append the clipboard to today's daily note without stealing focus</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">open</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian://daily?vault=my%20vault&#x26;clipboard&#x26;append&#x26;silent</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Run a search</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">open</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian://search?vault=my%20vault&#x26;query=tag%3A%23inbox</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span></code></pre>
</div><p>That third one is the sleeper. <code>clipboard</code> pulls content from the system clipboard instead of the URL, <code>append</code> adds to the existing note rather than replacing it, and <code>silent</code> means Obsidian does the write without pulling you out of whatever you were doing. Chained together, that's a full capture pipeline in one line.</p>
<p>A few details that will bite you if you skip them. Encoding is not optional: a bare <code>/</code> in a path or a space in a vault name will break the parse, so percent-encode everything (<code>%2F</code>, <code>%20</code>). The <code>.md</code> extension can be omitted from <code>file</code>. <code>paneType</code> accepts <code>tab</code>, <code>split</code>, or <code>window</code>. And there's a shorthand if you're hand-writing links inside notes — <code>obsidian://vault/my vault/my note</code> is the same as the long <code>open</code> form.</p>
<h2 id="where-advanced-uri-picks-up-the-slack" tabindex="-1">Where Advanced URI picks up the slack <a class="header-anchor" href="#where-advanced-uri-picks-up-the-slack" aria-label="Permalink to &quot;Where Advanced URI picks up the slack&quot;">&ZeroWidthSpace;</a></h2>
<p>The core protocol can create and append. It cannot overwrite a specific heading, run a command, or do a regex search-and-replace. That's what <a href="https://github.com/Vinzent03/obsidian-advanced-uri" target="_blank" rel="noreferrer">Advanced URI</a> is for. It uses its own scheme, <code>obsidian://adv-uri</code>, and adds a <code>mode</code> parameter:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Append to a specific heading in today's daily note</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">open</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian://adv-uri?vault=my%20vault&#x26;daily=true&#x26;heading=Log&#x26;data=Deployed%20v2.1&#x26;mode=append</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-5c6b74 shk-light-font-style-italic shk-dark-c3c7ca shk-dark-font-style-italic"># Overwrite a file outright</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">open</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian://adv-uri?vault=my%20vault&#x26;filepath=status&#x26;data=green&#x26;mode=overwrite</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span></code></pre>
</div><p><code>mode</code> takes <code>write</code> (only if the file doesn't exist), <code>overwrite</code>, <code>append</code>, <code>prepend</code>, and <code>new</code> (always creates, appending an incrementing number on collision). Append and prepend default to a newline separator, but <code>separator=,</code> or anything else works if you're building a list.</p>
<p>Two features are worth the install on their own. The first is running commands by ID:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>obsidian://adv-uri?vault=my%20vault&#x26;filepath=notes%2Fdraft&#x26;commandid=workspace%3Aclose</span></span></code></pre>
</div><p>That switches to the tab holding <code>notes/draft</code> and then fires the &quot;Close current tab&quot; command — so you can close an arbitrary tab by path. Any command in the palette works. Prefer <code>commandid</code> over <code>commandname</code>; names get reworded between plugin releases, IDs almost never do.</p>
<p>The second is the <code>uid</code> identifier. Instead of <code>filepath</code>, you reference a note by a UUID stored in its frontmatter:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>obsidian://adv-uri?vault=my%20vault&#x26;uid=d43f7a17-058c-4aea-b8dc-515ea646825a</span></span></code></pre>
</div><p>Rename or move the note and the link still resolves. If you're embedding Obsidian links into task managers, calendar events, or a codebase, this is the difference between links that survive a vault reorg and links that quietly rot.</p>
<h2 id="making-it-actually-useful" tabindex="-1">Making it actually useful <a class="header-anchor" href="#making-it-actually-useful" aria-label="Permalink to &quot;Making it actually useful&quot;">&ZeroWidthSpace;</a></h2>
<p>The protocol is only worth it if something else is calling it. A shell function is the lowest-effort win:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">jot</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">()</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  local</span><span class="shk-light-1a262c shk-dark-e5e5e5"> text</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  text</span><span class="shk-light-4475b7 shk-dark-99bdea">=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">$(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">python3</span><span class="shk-light-337e85 shk-dark-87c4cd"> -c</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">import sys,urllib.parse; print(urllib.parse.quote(sys.argv[1]))</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-1a262c shk-dark-e5e5e5">$*</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">  open</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian://daily?vault=my%20vault&#x26;content=- </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">text</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93">&#x26;append&#x26;silent</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span></code></pre>
</div><p>Now <code>jot &quot;check why the build cache missed&quot;</code> lands in today's daily note from any terminal, and Obsidian never comes to the foreground. The same URL works as a browser bookmarklet, an iOS Shortcut action, a Raycast script, or a step in a cron job.</p>
<p>One nicety before you start hand-writing these: Advanced URI ships helper commands in the palette that generate and copy a correct, fully encoded URI for the current file, daily note, command, or search-and-replace. Use those to get a working URL, then edit it — it's a lot faster than debugging your own percent-encoding at midnight.</p>
<p>Sources: <a href="https://help.obsidian.md/Extending+Obsidian/Obsidian+URI" target="_blank" rel="noreferrer">Obsidian URI (official help)</a>, <a href="https://publish.obsidian.md/advanced-uri-doc/" target="_blank" rel="noreferrer">Advanced URI documentation</a>.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>workflows</category>
            <category>plugins</category>
            <category>productivity</category>
            <category>community-plugins</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-uri-your-vault-has-an-api-youre-not-using.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[DataviewJS: The Escape Hatch When Bases and DQL Run Out]]></title>
            <link>https://danholloran.me/posts/dataviewjs-the-escape-hatch-when-bases-and-dql-run-out</link>
            <guid isPermaLink="false">https://danholloran.me/posts/dataviewjs-the-escape-hatch-when-bases-and-dql-run-out</guid>
            <pubDate>Fri, 28 Aug 2026 07:07:12 GMT</pubDate>
            <description><![CDATA[Bases handles most vault dashboards now, and Dataview's query language covers the rest. DataviewJS is what you reach for when neither can express the thing…]]></description>
            <content:encoded><![CDATA[<p>You write a Dataview query, it almost works, and then you hit the wall. You want a table of projects where the third column is a percentage of completed subtasks. Or a list grouped by month, but only months that have more than three entries. Or a rollup that reads a value out of a linked note two hops away. DQL has no arithmetic over grouped children, no early exit, no real branching. You end up writing three queries and eyeballing the results.</p>
<p>That is the moment DataviewJS exists for. It is not a better Dataview — it is the same index with the query language peeled off, handed to you as a JavaScript object called <code>dv</code>. Everything DQL does is a thin wrapper over calls you can make yourself, plus all the things a query language cannot express.</p>
<h2 id="it-s-off-by-default-and-that-s-the-first-thing-that-bites-people" tabindex="-1">It's off by default, and that's the first thing that bites people <a class="header-anchor" href="#it-s-off-by-default-and-that-s-the-first-thing-that-bites-people" aria-label="Permalink to &quot;It's off by default, and that's the first thing that bites people&quot;">&ZeroWidthSpace;</a></h2>
<p>If you paste a <code>dataviewjs</code> block into a note and get an empty render with no error, you have not made a mistake. <strong>Settings → Community plugins → Dataview → JavaScript Queries</strong> is off out of the box. Turn it on and the same block works. The setting exists because a <code>dataviewjs</code> block is arbitrary JavaScript running with your vault's API surface — the same reason you should not paste one in from a random forum thread without reading it first.</p>
<p>Once it's on, the shape is always the same: fence the block with <code>dataviewjs</code>, use <code>dv</code>, and render with a <code>dv.*</code> call rather than returning a value.</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span><span class="shk-light-2e7d32 shk-dark-a9ce93">dataviewjs</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> books</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> dv</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">pages</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-2e7d32 shk-dark-a9ce93">#book</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">where</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">b</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> b</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">rating</span><span class="shk-light-4475b7 shk-dark-99bdea"> >=</span><span class="shk-light-337e85 shk-dark-87c4cd"> 4</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">sort</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">b</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> b</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">rating</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">desc</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">dv</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">table</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  [</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Book</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Genre</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Rating</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  books</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">map</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">b</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-1a262c shk-dark-e5e5e5">b</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">file</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">link</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> b</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">genre</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> b</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">rating</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">])</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span></span></code></pre>
</div><p><code>dv.pages()</code> takes the same source string DQL takes — a tag, a folder in quotes, a link, or a boolean combination of them. What comes back is a <code>DataArray</code>, a lazy list with <code>where</code>, <code>map</code>, <code>sort</code>, <code>groupBy</code>, <code>flatMap</code>, and friends. <code>dv.table()</code> wants headers as an array and rows as an array of arrays, and it renders nested arrays as bullets inside the cell, which is handy for multi-value fields.</p>
<h2 id="the-queries-you-couldn-t-write-before" tabindex="-1">The queries you couldn't write before <a class="header-anchor" href="#the-queries-you-couldn-t-write-before" aria-label="Permalink to &quot;The queries you couldn't write before&quot;">&ZeroWidthSpace;</a></h2>
<p>Here is the thing DQL genuinely cannot do: computed aggregates across a group.</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span><span class="shk-light-2e7d32 shk-dark-a9ce93">dataviewjs</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> groups</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> dv</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">pages</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-2e7d32 shk-dark-a9ce93">"Projects"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">where</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">p</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> p</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">file</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">tasks</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-2e7d32 shk-dark-a9ce93">length </span><span class="shk-light-4475b7 shk-dark-99bdea">></span><span class="shk-light-337e85 shk-dark-87c4cd"> 0</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  .</span><span class="shk-light-6b63c8 shk-dark-bab5ea">groupBy</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">p</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> p</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">status</span><span class="shk-light-4475b7 shk-dark-99bdea"> ??</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">unset</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">dv</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">table</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  [</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Status</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Projects</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Tasks done</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">]</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  groups</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">map</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">g</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">    const</span><span class="shk-light-337e85 shk-dark-87c4cd"> tasks</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> g</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">rows</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">file</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">tasks</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">flat</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">();</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">    const</span><span class="shk-light-337e85 shk-dark-87c4cd"> done</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> tasks</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">where</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">t</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> t</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">completed</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">).</span><span class="shk-light-2e7d32 shk-dark-a9ce93">length</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">    const</span><span class="shk-light-337e85 shk-dark-87c4cd"> pct</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> tasks</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-2e7d32 shk-dark-a9ce93">length </span><span class="shk-light-4475b7 shk-dark-99bdea">?</span><span class="shk-light-1a262c shk-dark-e5e5e5"> Math</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">round</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">done</span><span class="shk-light-4475b7 shk-dark-99bdea"> /</span><span class="shk-light-1a262c shk-dark-e5e5e5"> tasks</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-2e7d32 shk-dark-a9ce93">length</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> *</span><span class="shk-light-337e85 shk-dark-87c4cd"> 100</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> :</span><span class="shk-light-337e85 shk-dark-87c4cd"> 0</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">    return</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> [</span><span class="shk-light-1a262c shk-dark-e5e5e5">g</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">key</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> g</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">rows</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-2e7d32 shk-dark-a9ce93">length</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> `</span><span class="shk-light-337e85 shk-dark-87c4cd">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">done</span><span class="shk-light-337e85 shk-dark-87c4cd">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93">/</span><span class="shk-light-337e85 shk-dark-87c4cd">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">tasks</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-337e85 shk-dark-87c4cd">length</span><span class="shk-light-337e85 shk-dark-87c4cd">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> (</span><span class="shk-light-337e85 shk-dark-87c4cd">${</span><span class="shk-light-1a262c shk-dark-e5e5e5">pct</span><span class="shk-light-337e85 shk-dark-87c4cd">}</span><span class="shk-light-2e7d32 shk-dark-a9ce93">%)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">];</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  })</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span></span></code></pre>
</div><p>Three things happened there that DQL has no syntax for: a null-coalescing default on a missing property, arithmetic across the children of a group, and string formatting on the result. Same for tasks — <code>dv.taskList(dv.pages('#ukulele').file.tasks.where(t =&gt; !t.completed))</code> gives you a live, checkable task list filtered by any predicate you can write, including ones that look at the parent note's frontmatter.</p>
<p>You also get async access when you need it. <code>await dv.io.load(path)</code> reads a file's raw text, which is how you build things like a dashboard that greps for a pattern the indexer doesn't track as a field.</p>
<h2 id="when-not-to-reach-for-it" tabindex="-1">When not to reach for it <a class="header-anchor" href="#when-not-to-reach-for-it" aria-label="Permalink to &quot;When not to reach for it&quot;">&ZeroWidthSpace;</a></h2>
<p>In 2026 the honest default is Bases first. It ships in the app, it's maintained by the Obsidian team, it has a visual editor, and since 1.9 it's grown table, card, list, and map views. For &quot;show me my notes with these properties, sorted&quot;, Bases is faster and you don't own the maintenance.</p>
<p>Dataview's position has shifted accordingly. blacksmithgu's last commit was mid-2024 and 0.5.70 landed as a beta in April 2026 — treat the plugin as stable but effectively frozen. Thirty thousand lines of working code is not nothing, but it is code nobody is actively steering, and that is a real consideration for something rendering on every note open.</p>
<p>So the split I'd suggest: Bases for property-driven views, inline DQL for a live number inside a sentence, and DataviewJS only when you need computation, task-level predicates, or file I/O that neither of the other two can express. Keep the JS blocks few and in dashboard notes rather than scattered through your daily notes, because each one is a script that runs on render — and because the fewer you have, the cheaper it is the day you migrate them.</p>
<p>Start with the <a href="https://blacksmithgu.github.io/obsidian-dataview/api/code-reference/" target="_blank" rel="noreferrer">code reference</a> — it is short, and most of what you'll ever need is <code>dv.pages</code>, <code>dv.table</code>, <code>dv.list</code>, and <code>dv.taskList</code>.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>dataview</category>
            <category>plugins</category>
            <category>knowledge-management</category>
            <category>dataview-plugin</category>
            <enclosure url="https://danholloran.me/images/posts/dataviewjs-the-escape-hatch-when-bases-and-dql-run-out.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Writing an Obsidian Plugin Is Smaller Than You Think]]></title>
            <link>https://danholloran.me/posts/writing-an-obsidian-plugin-is-smaller-than-you-think</link>
            <guid isPermaLink="false">https://danholloran.me/posts/writing-an-obsidian-plugin-is-smaller-than-you-think</guid>
            <pubDate>Tue, 25 Aug 2026 07:07:32 GMT</pubDate>
            <description><![CDATA[Most people patch around a missing Obsidian feature with a Templater script and a CSS snippet. The plugin API is often the shorter path, and the surface…]]></description>
            <content:encoded><![CDATA[<p>Somewhere in your vault there is a workaround. A Templater script that almost does the thing. A CSS snippet that fakes a view Obsidian doesn't have. A Dataview query with a comment above it apologizing for itself. You built it because writing a plugin felt like a bigger commitment than the annoyance justified.</p>
<p>That instinct is usually wrong. The Obsidian plugin API is small, the scaffold is a <code>git clone</code>, and most plugin ideas bottom out in one or two registration calls inside a single <code>onload()</code>. The hard part is not the API. It's knowing which four methods you actually need.</p>
<h2 id="the-scaffold-is-a-clone-and-a-watch-command" tabindex="-1">The scaffold is a clone and a watch command <a class="header-anchor" href="#the-scaffold-is-a-clone-and-a-watch-command" aria-label="Permalink to &quot;The scaffold is a clone and a watch command&quot;">&ZeroWidthSpace;</a></h2>
<p>Obsidian maintains a sample plugin as a GitHub template repo. You clone it into a vault's plugin folder, install, and start the watcher:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">cd</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> path/to/vault/.obsidian/plugins</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">git</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> clone</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> https://github.com/obsidianmd/obsidian-sample-plugin.git</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">cd</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> obsidian-sample-plugin</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">npm</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> install</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">npm</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> run</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> dev</span></span></code></pre>
</div><p>That produces a <code>main.js</code> next to the source. Turn on community plugins in <strong>Settings → Community plugins</strong>, toggle the sample on, and you have a live plugin.</p>
<p>One rule worth taking seriously: the docs tell you to never develop against your main vault, and they mean it. A plugin has write access to every note. A stray <code>vault.modify()</code> in a loop is a very fast way to learn what your backup strategy actually is. Make an empty vault for development.</p>
<p>Two reload gotchas. Editing <code>main.ts</code> needs the plugin reloaded (toggle it off and on, or run <strong>Reload app without saving</strong> from the command palette). Editing <code>manifest.json</code> needs a full restart. The community <a href="https://github.com/pjeby/hot-reload" target="_blank" rel="noreferrer">Hot-Reload plugin</a> removes the first one from your life.</p>
<h2 id="four-registrations-cover-most-ideas" tabindex="-1">Four registrations cover most ideas <a class="header-anchor" href="#four-registrations-cover-most-ideas" aria-label="Permalink to &quot;Four registrations cover most ideas&quot;">&ZeroWidthSpace;</a></h2>
<p><code>Plugin</code> extends <code>Component</code>, and nearly everything you register through it gets torn down automatically on unload. That's the design worth internalizing: use the <code>register*</code> helpers instead of raw listeners and you never write cleanup code.</p>
<p>The first two are the boring ones. <code>addCommand()</code> puts an entry in the command palette, auto-prefixed with your plugin id. <code>addRibbonIcon()</code> puts an icon in the left rail:</p>
<div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">import</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262c shk-dark-e5e5e5"> Notice</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> Plugin </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span><span class="shk-light-4475b7 shk-dark-99bdea"> from</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">obsidian</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">export</span><span class="shk-light-4475b7 shk-dark-99bdea"> default</span><span class="shk-light-4475b7 shk-dark-99bdea"> class</span><span class="shk-light-77771c shk-dark-dada93"> HelloWorldPlugin</span><span class="shk-light-4475b7 shk-dark-99bdea"> extends</span><span class="shk-light-77771c shk-dark-dada93"> Plugin</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  async</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> onload</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">()</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">    this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">addRibbonIcon</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">dice</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Greet</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> ()</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">      new</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> Notice</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Hello, world!</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    });</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  }</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span></code></pre>
</div><p>The interesting one is <code>registerMarkdownCodeBlockProcessor()</code>. This is how Mermaid diagrams work, and it's how you get your own. Claim a language tag, get the raw source, render whatever you want into the element:</p>
<div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">this</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">registerMarkdownCodeBlockProcessor</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">csv</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-1a262c shk-dark-e5e5e5">source</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> el</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> ctx</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> rows</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> source</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">split</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-337e85 shk-dark-87c4cd">\n</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">).</span><span class="shk-light-6b63c8 shk-dark-bab5ea">filter</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">((</span><span class="shk-light-1a262c shk-dark-e5e5e5">row</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> row</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-1a262c shk-dark-e5e5e5">length </span><span class="shk-light-4475b7 shk-dark-99bdea">></span><span class="shk-light-337e85 shk-dark-87c4cd"> 0</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  const</span><span class="shk-light-337e85 shk-dark-87c4cd"> body</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> el</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">createEl</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">table</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">).</span><span class="shk-light-6b63c8 shk-dark-bab5ea">createEl</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">tbody</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  for</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> rowText</span><span class="shk-light-4475b7 shk-dark-99bdea"> of</span><span class="shk-light-1a262c shk-dark-e5e5e5"> rows</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">    const</span><span class="shk-light-337e85 shk-dark-87c4cd"> row</span><span class="shk-light-4475b7 shk-dark-99bdea"> =</span><span class="shk-light-1a262c shk-dark-e5e5e5"> body</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">createEl</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">tr</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">);</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">    for</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-4475b7 shk-dark-99bdea">const</span><span class="shk-light-337e85 shk-dark-87c4cd"> cell</span><span class="shk-light-4475b7 shk-dark-99bdea"> of</span><span class="shk-light-1a262c shk-dark-e5e5e5"> rowText</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">split</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">))</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">      row</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">createEl</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">td</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-337e85 shk-dark-87c4cd"> text</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262c shk-dark-e5e5e5"> cell </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">});</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">    }</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">  }</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">});</span></span></code></pre>
</div><p>Twelve lines and <code>```csv</code> renders as a table in Reading view. If you've ever wanted a custom block in your notes, that's the whole mechanism.</p>
<p>Its sibling, <code>registerMarkdownPostProcessor()</code>, runs against already-rendered HTML and lets you rewrite it — swapping <code>:sunglasses:</code> for an emoji, linkifying ticket numbers, badge-ing certain inline code spans. Between those two you can change how nearly anything looks in Reading view without touching a theme.</p>
<h2 id="the-vault-api-is-where-the-real-footguns-live" tabindex="-1">The Vault API is where the real footguns live <a class="header-anchor" href="#the-vault-api-is-where-the-real-footguns-live" aria-label="Permalink to &quot;The Vault API is where the real footguns live&quot;">&ZeroWidthSpace;</a></h2>
<p>Reading and writing notes is where a plugin can do damage, so the API draws distinctions that are easy to skim past.</p>
<p>For reads: use <code>cachedRead()</code> when you're only displaying content, and <code>read()</code> when you plan to write the result back. The difference only matters when a file changed on disk moments before, but that's exactly the case that eats data.</p>
<p>For writes, prefer <code>process()</code> over the <code>read()</code> then <code>modify()</code> dance:</p>
<div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">function</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> emojify</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">vault</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-77771c shk-dark-dada93"> Vault</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262c shk-dark-e5e5e5"> file</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-77771c shk-dark-dada93"> TFile</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-77771c shk-dark-dada93"> Promise</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">&#x3C;</span><span class="shk-light-1a262c shk-dark-e5e5e5">string</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">></span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">  return</span><span class="shk-light-1a262c shk-dark-e5e5e5"> vault</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">process</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262c shk-dark-e5e5e5">file</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> (</span><span class="shk-light-1a262c shk-dark-e5e5e5">data</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span><span class="shk-light-4475b7 shk-dark-99bdea"> =></span><span class="shk-light-1a262c shk-dark-e5e5e5"> data</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">replace</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">(</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-2e7d32 shk-dark-a9ce93">:)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">🙂</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">));</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span></code></pre>
</div><p><code>process()</code> guarantees the file didn't change between the read and the write. <code>read()</code> plus <code>modify()</code> gives you a window where it can, and you'll overwrite whatever landed in it. <code>process()</code> is synchronous only — for async work, <code>cachedRead()</code>, do the slow thing, then <code>process()</code> and verify the content still matches what you read.</p>
<p>And when deleting, <code>trash()</code> moves the file to the system bin or the vault's <code>.trash</code>; <code>delete()</code> removes it without a trace. Default to <code>trash()</code>.</p>
<h2 id="start-with-the-annoyance-not-the-idea" tabindex="-1">Start with the annoyance, not the idea <a class="header-anchor" href="#start-with-the-annoyance-not-the-idea" aria-label="Permalink to &quot;Start with the annoyance, not the idea&quot;">&ZeroWidthSpace;</a></h2>
<p>The best first plugin is the workaround you're already maintaining. If it's a rendering problem, it's a code block processor. If it's a repetitive action, it's a command. If it's &quot;I want to see all my notes where X,&quot; check whether Bases already does it before you write anything.</p>
<p>The <a href="https://docs.obsidian.md/Plugins/Getting+started/Build+a+plugin" target="_blank" rel="noreferrer">official docs</a> are unusually good, and the TypeScript API reference lists every registration method on <code>Plugin</code> with the version it landed in. Skim that list once. You'll recognize your workaround in it.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>plugins</category>
            <category>typescript</category>
            <category>pkm</category>
            <category>obsidian-api-and-themes</category>
            <enclosure url="https://danholloran.me/images/posts/writing-an-obsidian-plugin-is-smaller-than-you-think.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Hotkeys and the Command Palette: Building a Keyboard-First Vault]]></title>
            <link>https://danholloran.me/posts/obsidian-hotkeys-and-the-command-palette-a-keyboard-first-vault</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-hotkeys-and-the-command-palette-a-keyboard-first-vault</guid>
            <pubDate>Fri, 21 Aug 2026 07:08:03 GMT</pubDate>
            <description><![CDATA[Most Obsidian friction is the round trip from keyboard to mouse and back. Here is how the command palette, a short list of hotkeys, and a little usage data…]]></description>
            <content:encoded><![CDATA[<p>You are three sentences into a thought and you need to insert a template. Your hand leaves the keyboard, you find the ribbon icon, you click, you come back. It costs about two seconds. Do it forty times a day and you have lost roughly an hour a month, which is annoying but survivable.</p>
<p>The real cost is the thought you were three sentences into. Reaching for the mouse is a context switch, and context switches are where half-finished notes come from. The fix is not memorizing a wall of shortcuts. It is knowing which handful of things you actually do, and letting Obsidian's built-in command system handle the rest.</p>
<h2 id="the-command-palette-is-an-index-not-a-shortcut" tabindex="-1">The command palette is an index, not a shortcut <a class="header-anchor" href="#the-command-palette-is-an-index-not-a-shortcut" aria-label="Permalink to &quot;The command palette is an index, not a shortcut&quot;">&ZeroWidthSpace;</a></h2>
<p><code>Ctrl+P</code> (<code>Cmd+P</code> on macOS) opens the Command palette, a core plugin that exposes every command Obsidian and your plugins have registered. It supports fuzzy matching, so you do not need the exact name: typing <code>scf</code> finds <strong>Save current file</strong>. As of Obsidian 1.8.3, recently used commands float to the top of the list, though once you start typing, fuzzy matching takes over and shorter command names get prioritized again.</p>
<p>The palette's underrated job is discovery. Every command shows its assigned hotkey next to it, which makes the palette the fastest way to answer &quot;does this already have a shortcut?&quot; without opening settings at all. Install a plugin, open the palette, type its name, and you get a readable inventory of what it added.</p>
<p>For the handful of commands you run constantly but never remembered the name of, pin them: <strong>Settings → Command palette → New pinned command → Select a command</strong>. Pinned commands sit at the top of the palette with no typing required, which is a nice middle tier between &quot;buried in a menu&quot; and &quot;deserves its own key combination.&quot;</p>
<h2 id="promote-by-evidence-not-by-vibes" tabindex="-1">Promote by evidence, not by vibes <a class="header-anchor" href="#promote-by-evidence-not-by-vibes" aria-label="Permalink to &quot;Promote by evidence, not by vibes&quot;">&ZeroWidthSpace;</a></h2>
<p>My rule of thumb: if you run a command more than about ten times a week, it has earned a hotkey. Below that, the palette is fine and a binding is just one more thing to forget.</p>
<p>The trap is that people are bad at guessing which commands those are. You will confidently bind six shortcuts, use two of them, and let the other four rot. If you want to skip the guessing, the community plugin <strong>Command Tracker</strong> counts how often each command actually fires. Run it for two weeks, sort the list, and bind the top of it.</p>
<p>Start with three anchors before anything plugin-specific:</p>
<div class="table-scroll">
<table>
<thead>
<tr>
<th>Command</th>
<th>Default hotkey</th>
<th>What it replaces</th>
</tr>
</thead>
<tbody>
<tr>
<td>Command palette</td>
<td><code>Ctrl/Cmd+P</code></td>
<td>Hunting through menus</td>
</tr>
<tr>
<td>Quick switcher</td>
<td><code>Ctrl/Cmd+O</code></td>
<td>Clicking the file explorer</td>
</tr>
<tr>
<td>Search in all files</td>
<td><code>Ctrl/Cmd+Shift+F</code></td>
<td>Scrolling to find a note</td>
</tr>
</tbody>
</table>
</div>
<p>Those three cover navigation and execution. Everything after that is personal.</p>
<p>To set one, open <strong>Settings → Hotkeys</strong>, filter for the command, click the plus icon, press the combination, and select <strong>Save</strong>. You can assign more than one combination to a single command by clicking plus again, which is genuinely useful if you are migrating from another editor and want the old muscle memory to keep working while the new one sets in. The filter icon at the top shows only commands that already have a hotkey, which makes it a decent quarterly audit view.</p>
<p>One layout gotcha: Obsidian displays hotkeys as they would appear on a US keyboard. If you are on a different layout, the display may not match your keycaps, but the binding follows the physical keys you actually pressed.</p>
<p>A convention that keeps things sane: reserve one modifier stack for your own bindings. I use <code>Cmd+Shift+&lt;letter&gt;</code> for anything I added myself, so a collision with an Obsidian default or a plugin default is basically impossible, and I always know whether a shortcut is mine.</p>
<h2 id="trim-the-palette-then-place-what-is-left" tabindex="-1">Trim the palette, then place what is left <a class="header-anchor" href="#trim-the-palette-then-place-what-is-left" aria-label="Permalink to &quot;Trim the palette, then place what is left&quot;">&ZeroWidthSpace;</a></h2>
<p>Once you have a few dozen plugins, the palette itself gets noisy. <strong>Command Block List</strong> hides commands from the palette entirely, which is the right move for the fifteen commands a single plugin registered when you only ever use one of them.</p>
<p>For the opposite problem, <strong>Commander</strong> puts commands into parts of the interface that do not have keyboards at all: the ribbon, the status bar, page headers, and context menus. It can also hide commands added by Obsidian or other plugins, and it lets you choose which devices show each command. That last part is the reason to care. Your desktop vault wants hotkeys; your phone wants three big buttons in the toolbar. Commander lets the same synced vault have both.</p>
<p>If you want to go further, <strong>Shell commands</strong> registers system commands as Obsidian commands, at which point anything you can run in a terminal becomes hotkey-able from inside your notes. That is powerful and worth being deliberate about, since a hotkey that runs a script is a hotkey that can do real damage to real files.</p>
<p>Give yourself an afternoon: open the palette, watch what you reach for, bind the five things you keep doing, and audit the list next quarter. A keyboard-first vault is not fifty shortcuts. It is about a dozen, and a palette that finds everything else.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>productivity</category>
            <category>workflows</category>
            <category>hotkeys</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-hotkeys-and-the-command-palette-a-keyboard-first-vault.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Workspaces: Stop Rebuilding Your Layout Every Time You Switch Tasks]]></title>
            <link>https://danholloran.me/posts/obsidian-workspaces-stop-rebuilding-your-layout-every-time-you-switch-tasks</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-workspaces-stop-rebuilding-your-layout-every-time-you-switch-tasks</guid>
            <pubDate>Tue, 18 Aug 2026 07:08:16 GMT</pubDate>
            <description><![CDATA[Workspaces is a core Obsidian plugin that saves your entire pane layout under a name and restores it in one command.]]></description>
            <content:encoded><![CDATA[<p>There is a particular kind of friction that never shows up on anyone's list of Obsidian complaints, because it feels like your own fault. You sit down to write, so you close the graph view, collapse the right sidebar, open the outline pane, and pull up your research note in a split. Twenty minutes later you switch to reviewing tasks, and you tear the whole thing down and build a different arrangement. Then you go to capture something quickly and do it a third time.</p>
<p>None of those rearrangements takes more than fifteen seconds. That is exactly why nobody fixes it. But fifteen seconds of pane wrangling at the front of every context switch is a tax on starting, and the tax is paid at the worst possible moment: right when you have decided to do the work but have not started yet.</p>
<p>Obsidian has shipped a fix for this since forever, and it is off by default. It is called Workspaces.</p>
<h2 id="what-a-workspace-actually-saves" tabindex="-1">What a workspace actually saves <a class="header-anchor" href="#what-a-workspace-actually-saves" aria-label="Permalink to &quot;What a workspace actually saves&quot;">&ZeroWidthSpace;</a></h2>
<p>Workspaces is a core plugin, not a community one. Enable it under <strong>Settings → Core plugins → Workspaces</strong> and a new <strong>Manage workspace layouts</strong> icon appears in the ribbon.</p>
<p>A workspace stores the arrangement, not the content: which files are open, how tabs and splits are organized, and the width and visibility of each sidebar. It is a snapshot of the app frame around your notes. Saving one is three steps from the ribbon, or from the command palette:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>Cmd/Ctrl+P → "Manage workspace layouts" → name it → Save</span></span></code></pre>
</div><p>Loading is the same dialog with <strong>Load</strong> instead. To update an existing workspace, you save over it: enter the same name and hit Save again.</p>
<p>Here is the gotcha that catches everyone, and it is worth internalizing before you build anything on top of this. <strong>Workspaces do not autosave.</strong> If you load <code>Writing</code>, then open four new tabs and drag a pane around, none of that survives. Next time you load <code>Writing</code> you get the layout exactly as you last saved it.</p>
<p>That behavior is a feature once you stop fighting it. Your saved layouts become stable environments you return to rather than drifting sessions that accumulate junk. But if you expected the tabs you opened this morning to still be there tomorrow, you need to explicitly save over the workspace before you switch away.</p>
<h2 id="three-layouts-that-earn-their-keep" tabindex="-1">Three layouts that earn their keep <a class="header-anchor" href="#three-layouts-that-earn-their-keep" aria-label="Permalink to &quot;Three layouts that earn their keep&quot;">&ZeroWidthSpace;</a></h2>
<p>Saving a workspace for every project is a trap; you end up with fifteen layouts and no idea which is which. Save layouts for <em>modes of work</em>, not for subjects. Three is usually enough:</p>
<p><strong>Writing.</strong> One main pane, left sidebar hidden entirely, right sidebar showing only the outline. No graph, no backlinks, nothing that invites you to go look at something else. This one exists to remove options.</p>
<p><strong>Review.</strong> Your dashboard or MOC note pinned in the left split, a task query in the right, file explorer visible. This is the layout you load when you want to decide what to do rather than do it.</p>
<p><strong>Capture.</strong> Today's daily note open, the quick switcher one keystroke away, sidebars collapsed. Fast in, fast out.</p>
<p>The layouts live in your vault's config folder as <code>.obsidian/workspaces.json</code>. If you sync with Git, that file is version-controlled like anything else in <code>.obsidian</code>, which means a layout you like is portable across machines. Obsidian Sync treats workspace layouts as a separate toggle, so check that setting if your layouts are not following you between devices — different machines often <em>should</em> have different layouts anyway, since a 13-inch laptop cannot usefully hold the three-pane arrangement your desktop can.</p>
<h2 id="make-switching-cost-one-keystroke" tabindex="-1">Make switching cost one keystroke <a class="header-anchor" href="#make-switching-cost-one-keystroke" aria-label="Permalink to &quot;Make switching cost one keystroke&quot;">&ZeroWidthSpace;</a></h2>
<p>A workspace you have to click through a dialog to reach is a workspace you will stop using. Bind the command:</p>
<p><strong>Settings → Hotkeys → search &quot;workspace&quot;</strong> and assign the <strong>Manage workspace layouts</strong> command something you can hit without looking. <code>Cmd/Ctrl+Shift+W</code> is usually free.</p>
<p>The core plugin gives you one hotkey that opens the picker, which is a small extra step. If you switch layouts constantly, two community plugins go further: <strong>Workspaces Plus</strong> adds per-workspace hotkeys and a status-bar switcher, and <strong>Workspace++</strong> lets you cycle sessions directly with <code>Cmd/Ctrl+Shift+Enter</code> and step backward and forward with <code>Cmd/Ctrl+Shift+,</code> and <code>Cmd/Ctrl+Shift+.</code>. Both are worth a look, but try the core plugin for a week first. Most people discover they only ever switch between two layouts, and one hotkey plus one Enter is fine for that.</p>
<h2 id="the-actual-payoff" tabindex="-1">The actual payoff <a class="header-anchor" href="#the-actual-payoff" aria-label="Permalink to &quot;The actual payoff&quot;">&ZeroWidthSpace;</a></h2>
<p>The point is not the fifteen seconds. The point is that a layout is a commitment device. Loading <code>Writing</code> and watching the graph view and backlinks pane disappear is a much stronger signal to your brain than telling yourself you are going to focus now.</p>
<p>Set up two workspaces this week — one for making things and one for looking at things — and bind the switch to a key. If you find yourself reaching for it without thinking, that is the whole feature working.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>workflows</category>
            <category>productivity</category>
            <category>workspaces</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-workspaces-stop-rebuilding-your-layout-every-time-you-switch-tasks.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[One Vault or Many? What Splitting an Obsidian Vault Actually Costs You]]></title>
            <link>https://danholloran.me/posts/one-vault-or-many-what-splitting-an-obsidian-vault-actually-costs-you</link>
            <guid isPermaLink="false">https://danholloran.me/posts/one-vault-or-many-what-splitting-an-obsidian-vault-actually-costs-you</guid>
            <pubDate>Fri, 14 Aug 2026 07:08:50 GMT</pubDate>
            <description><![CDATA[Splitting your Obsidian vault feels like tidying up, but a vault boundary is a hard wall your search, links, and queries cannot cross.]]></description>
            <content:encoded><![CDATA[<p>Every few months someone in the Obsidian forums asks the same question: should I keep one big vault, or split my notes into a work vault and a personal vault? The answers usually turn into a preference argument, which is a shame, because it isn't really one. A vault boundary is not an organizational choice like a folder or a tag. It's a hard wall, and almost everything that makes Obsidian interesting stops at it.</p>
<p>Understanding exactly what stops at that wall makes the decision much easier than debating aesthetics.</p>
<h2 id="a-vault-is-a-folder-with-a-config-folder-in-it" tabindex="-1">A vault is a folder with a config folder in it <a class="header-anchor" href="#a-vault-is-a-folder-with-a-config-folder-in-it" aria-label="Permalink to &quot;A vault is a folder with a config folder in it&quot;">&ZeroWidthSpace;</a></h2>
<p>There is nothing mystical here. A vault is a folder on your file system containing your notes, your attachments, and a <code>.obsidian</code> configuration folder holding the settings for that vault specifically. That last part is the one people underestimate.</p>
<p>Your enabled community plugins, your hotkeys, your theme, your CSS snippets, your Templater templates directory, your daily note format — all of it lives in <code>.obsidian</code>, inside one vault. Create a second vault and you get factory defaults. Obsidian's own documentation is blunt about the fix: copy the <code>.obsidian</code> folder from the source vault to the destination vault, then restart. That's the supported migration path.</p>
<p>Which means every settings change you make from then on is a change you make twice, or a change you forget to make twice. Six months in, your second vault is running a plugin version behind and a hotkey map you no longer remember.</p>
<h2 id="everything-that-stops-at-the-boundary" tabindex="-1">Everything that stops at the boundary <a class="header-anchor" href="#everything-that-stops-at-the-boundary" aria-label="Permalink to &quot;Everything that stops at the boundary&quot;">&ZeroWidthSpace;</a></h2>
<p>This is the part worth being concrete about, because it's a longer list than most people expect:</p>
<ul>
<li><strong>Search.</strong> Global search covers one vault. There is no &quot;search all my vaults.&quot;</li>
<li><strong>Links.</strong> <code>[[Wikilinks]]</code> resolve within a vault. You cannot link a work note to a personal note.</li>
<li><strong>Backlinks and unlinked mentions.</strong> Same story — vault-scoped, so cross-vault connections are simply invisible.</li>
<li><strong>Graph view.</strong> Two vaults means two graphs that never touch.</li>
<li><strong>Dataview, Bases, and Tasks queries.</strong> Every one of them queries the current vault only.</li>
<li><strong>Tags.</strong> A <code>#reading</code> tag in one vault and a <code>#reading</code> tag in another are unrelated strings.</li>
</ul>
<p>There is one escape hatch, and it's narrow. The Obsidian URI protocol will open a note in another vault:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">[</span><span class="shk-light-2e7d32 shk-dark-a9ce93">Client brief</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">](</span><span class="shk-light-337e85 shk-dark-87c4cd">obsidian://open?vault=work&#x26;file=clients%2Facme%2Fbrief</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span></code></pre>
</div><p>That works, and it's genuinely useful for a handful of deliberate jumps. But note what it is: an external protocol link, not a wikilink. It doesn't create a backlink. It doesn't appear in the graph. It won't be found by a Dataview query. And it breaks if you rename the vault, unless you use the 16-character vault ID instead of the name — which you can copy from the vault switcher's context menu. It's a doorway between two buildings, not a hallway inside one.</p>
<h2 id="when-a-split-is-actually-the-right-call" tabindex="-1">When a split is actually the right call <a class="header-anchor" href="#when-a-split-is-actually-the-right-call" aria-label="Permalink to &quot;When a split is actually the right call&quot;">&ZeroWidthSpace;</a></h2>
<p>None of that means one vault always wins. Some separations are real, and folders can't express them:</p>
<ul>
<li><strong>Confidentiality.</strong> A client vault you can hand over, archive, or delete without disentangling it from your journal. Same for anything under an NDA that shouldn't sit on the same sync as your grocery lists.</li>
<li><strong>Different machines or accounts.</strong> A work laptop that shouldn't hold personal notes at all.</li>
<li><strong>Publishing.</strong> A vault you intend to publish wholesale is easier to reason about when everything in it is meant to be public.</li>
<li><strong>Genuinely different tooling.</strong> A vault built around Excalidraw and canvases has little in common with a plaintext writing vault, and keeping the plugin sets apart keeps both faster.</li>
</ul>
<p>The pattern in all four: the separation already exists in the real world. The vault boundary is just recording it. That's very different from splitting because your file tree got long.</p>
<h2 id="try-the-cheaper-fixes-first" tabindex="-1">Try the cheaper fixes first <a class="header-anchor" href="#try-the-cheaper-fixes-first" aria-label="Permalink to &quot;Try the cheaper fixes first&quot;">&ZeroWidthSpace;</a></h2>
<p>If the actual complaint is &quot;my vault feels cluttered,&quot; the boundary is the wrong tool. A top-level folder split gives you nearly all the visual separation with none of the cost, and search still crosses it when you want it to. Search operators narrow scope on demand — <code>path:work/ meeting</code> gets you a work-only search without giving up the option of a global one. The Workspaces core plugin saves and restores entire pane layouts, so switching from &quot;work mode&quot; to &quot;writing mode&quot; is a command, not an app restart. And Bookmarks pins the handful of notes you actually open every day, which is usually the real problem hiding behind &quot;too many files.&quot;</p>
<p>My honest default: start with one vault and split only when you can name the specific thing that forces it. Merging two vaults later is a drag-and-drop plus some link repair. Un-splitting a knowledge base you've spent two years failing to connect is a much harder afternoon.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>knowledge-management</category>
            <category>workflows</category>
            <category>vault-organization-strategies</category>
            <enclosure url="https://danholloran.me/images/posts/one-vault-or-many-what-splitting-an-obsidian-vault-actually-costs-you.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Search Operators: Find Anything Without a Plugin]]></title>
            <link>https://danholloran.me/posts/obsidian-search-operators-find-anything-without-a-plugin</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-search-operators-find-anything-without-a-plugin</guid>
            <pubDate>Tue, 11 Aug 2026 07:07:46 GMT</pubDate>
            <description><![CDATA[Obsidian's core Search has a real query language hiding behind the search box. Here's how file, path, line, block, section, task, and property operators…]]></description>
            <content:encoded><![CDATA[<p>You know the note exists. You wrote it. Something about a Postgres connection pool, in a meeting note or a daily note, sometime last spring. So you type <code>postgres</code> in the search box, get forty-seven results, and start scrolling. That scroll is the moment most people go looking for a search plugin.</p>
<p>You almost certainly do not need one. Obsidian's core Search has a genuine query language behind it, and it covers a lot of what people install Dataview to do. The catch is that the whole thing is documented on one help page that nobody reads twice, so most vaults use maybe ten percent of it.</p>
<h2 id="narrow-by-where-not-just-what" tabindex="-1">Narrow by where, not just what <a class="header-anchor" href="#narrow-by-where-not-just-what" aria-label="Permalink to &quot;Narrow by where, not just what&quot;">&ZeroWidthSpace;</a></h2>
<p>The first thing to internalize is that a bare search term matches file contents. If you want to filter by <em>location</em>, you need operators.</p>
<p><code>file:</code> matches the filename, <code>path:</code> matches the full path from the vault root, and both match any file in the vault, not just notes:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>path:"Daily notes/2026-03" postgres</span></span>
<span class="line"><span>file:meeting postgres</span></span></code></pre>
</div><p>That first query drops you from forty-seven results to whatever you wrote in March. <code>tag:</code> is worth calling out separately, because it is not just sugar for typing <code>#work</code>. It ignores matches inside code blocks and non-Markdown content, which makes it both faster and more accurate than a plain full-text search for the same string. One gotcha: <code>tag:#work</code> does not return <code>#myjob/work</code>, so nested tags need their own query.</p>
<p>You can negate anything with a leading hyphen, and group with parentheses:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>tag:#project -path:Archive</span></span>
<span class="line"><span>meeting (work OR standup) -tag:#personal</span></span></code></pre>
</div><h2 id="scope-the-match-line-block-and-section" tabindex="-1">Scope the match: line, block, and section <a class="header-anchor" href="#scope-the-match-line-block-and-section" aria-label="Permalink to &quot;Scope the match: line, block, and section&quot;">&ZeroWidthSpace;</a></h2>
<p>This is the part that changes how search feels. By default, every word in your term is matched independently <em>anywhere in the same file</em>. Search for <code>flour sugar</code> and you get a note that mentions flour in a recipe at the top and sugar in an unrelated grocery list at the bottom. Technically a match. Practically useless.</p>
<p>Three operators tighten the radius:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>line:(mix flour)</span></span>
<span class="line"><span>block:(dog cat)</span></span>
<span class="line"><span>section:(deploy rollback)</span></span></code></pre>
</div><p><code>line:</code> requires the words on the same line. <code>block:</code> requires them in the same Markdown block. <code>section:</code> requires them between the same pair of headings. Going back to the opening example, <code>section:(postgres &quot;connection pool&quot;)</code> finds the note where you actually wrote about the thing, not the note that happens to contain both words a thousand words apart.</p>
<p>Worth knowing: <code>block:</code> has to parse the Markdown of every file in the vault, so on a large vault it is noticeably slower than the others. Reach for <code>line:</code> first and escalate.</p>
<h2 id="tasks-and-properties" tabindex="-1">Tasks and properties <a class="header-anchor" href="#tasks-and-properties" aria-label="Permalink to &quot;Tasks and properties&quot;">&ZeroWidthSpace;</a></h2>
<p>There are three task operators, and they work block by block: <code>task:</code> matches any task, <code>task-todo:</code> only unchecked ones, <code>task-done:</code> only completed ones. An empty string matches everything, which is how you get &quot;every open task in the vault&quot;:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>task-todo:"" tag:#work</span></span>
<span class="line"><span>task-done:deploy path:"Projects/api"</span></span></code></pre>
</div><p>Properties get bracket syntax. <code>[aliases]</code> returns files that have that property at all, <code>[status:Draft]</code> matches a value, and <code>[aliases:null]</code> finds the property present but empty. Sub-queries work inside the brackets too:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>[status:Draft OR "In review"]</span></span>
<span class="line"><span>[due] -task-done:""</span></span></code></pre>
</div><p>One caveat on <code>null</code>: it matches a genuinely empty property, but not one set to empty quotes (<code>&quot;&quot;</code>) or empty brackets (<code>[]</code>). If your templates write those, <code>null</code> will quietly miss them.</p>
<h2 id="freeze-a-good-query-into-a-note" tabindex="-1">Freeze a good query into a note <a class="header-anchor" href="#freeze-a-good-query-into-a-note" aria-label="Permalink to &quot;Freeze a good query into a note&quot;">&ZeroWidthSpace;</a></h2>
<p>Once a query earns its keep, stop retyping it. A <code>query</code> code block embeds live search results directly in a note:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span><span class="shk-light-2e7d32 shk-dark-a9ce93">query</span></span>
<span class="line"><span class="shk-light-2e7d32 shk-dark-a9ce93">task-todo:"" tag:#work -path:Archive</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">```</span></span></code></pre>
</div><p>Drop that in your daily note template and you have an open-tasks dashboard with no plugin, no dependency, and nothing to break when a maintainer walks away. It updates on its own, because it is just a search.</p>
<p>Two more things that live in the search pane and deserve more use. <strong>Explain search term</strong>, under Search settings, breaks a query down into plain English, which turns debugging a gnarly nested query from guesswork into reading. And regex works anywhere a term does, wrapped in forward slashes, including inside operators: <code>path:/\d{4}-\d{2}-\d{2}/</code> finds every note with an ISO date in its path.</p>
<p>None of this is new, which is sort of the point. The next time you catch yourself scrolling a result list, try adding one operator instead of opening the Community Plugins browser. Most of the time, <code>section:</code> is the whole answer.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>workflows</category>
            <category>productivity</category>
            <category>vault-organization-strategies</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-search-operators-find-anything-without-a-plugin.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian Block Embeds: Stop Copy-Pasting Your Own Notes]]></title>
            <link>https://danholloran.me/posts/obsidian-block-embeds-stop-copy-pasting-your-own-notes</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-block-embeds-stop-copy-pasting-your-own-notes</guid>
            <pubDate>Fri, 07 Aug 2026 07:08:26 GMT</pubDate>
            <description><![CDATA[Whole-note embeds are the easy part. Block references are where transclusion in Obsidian actually pays off, and where one misplaced caret silently breaks…]]></description>
            <content:encoded><![CDATA[<p>You wrote a clean definition of your deploy process once, in a note called <code>Deploy Runbook</code>. Six months later that same paragraph lives in four other notes, and three of them are wrong. Copy-paste is the quiet killer of a vault: it feels efficient in the moment, and it guarantees that some day you will trust a stale version of your own thinking.</p>
<p>Obsidian's answer is transclusion, embedding a piece of one note inside another so there is exactly one copy and every reader sees the current version. Most people know <code>![[Note]]</code>. Far fewer use the two narrower forms that make it genuinely useful.</p>
<h2 id="three-levels-of-granularity" tabindex="-1">Three levels of granularity <a class="header-anchor" href="#three-levels-of-granularity" aria-label="Permalink to &quot;Three levels of granularity&quot;">&ZeroWidthSpace;</a></h2>
<p>An embed is just a link with an exclamation mark in front of it:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">![[Deploy Runbook]]</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">![[Deploy Runbook#Rollback]]</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">![[Deploy Runbook#^prod-checklist]]</span></span></code></pre>
</div><p>Whole note, heading section, single block. Whole-note embeds are blunt instruments, useful mostly for pulling an index into a dashboard. Heading embeds bring the heading text along with the content, which is what you want in a Map of Content and almost never what you want mid-sentence. Block embeds are the surgical option: one paragraph, one list item, no wrapper.</p>
<p>Blocks are the level most people skip, because the identifier looks like line noise. You do not have to type it. Type <code>#^</code> at the end of a link and Obsidian shows a picker of every block in the target note. Select one and it stamps a random six-character ID like <code>^37066d</code> onto that block in the source file.</p>
<p>You can also name them yourself. Add a space, a caret, and an identifier at the end of a block:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">"You do not rise to the level of your goals. You fall to the level of your systems." ^quote-of-the-day</span></span></code></pre>
</div><p>Now <code>![[Daily Reading#^quote-of-the-day]]</code> pulls it in anywhere. Identifiers accept only Latin letters, numbers, and dashes, so no spaces and no underscores.</p>
<h2 id="where-the-caret-goes-and-why-embeds-silently-go-blank" tabindex="-1">Where the caret goes, and why embeds silently go blank <a class="header-anchor" href="#where-the-caret-goes-and-why-embeds-silently-go-blank" aria-label="Permalink to &quot;Where the caret goes, and why embeds silently go blank&quot;">&ZeroWidthSpace;</a></h2>
<p>Placement depends on what kind of block you are marking. Getting it wrong is the single most common reason an embed renders as empty space with no error message.</p>
<p>For a plain paragraph, the ID goes at the end of the last line, after a space:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Rollbacks are cheap. Rolling forward under pressure is not. ^rollback-rule</span></span></code></pre>
</div><p>For a structured block, meaning a list, blockquote, callout, or table, the ID has to sit on its own line with a blank line before it:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">></span><span class="shk-light-1a262c shk-dark-e5e5e5"> Rollbacks are cheap. Rolling forward under pressure is not.</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">^rollback-rule</span></span></code></pre>
</div><p>Jam that caret directly beneath the last line of a callout and it becomes part of the callout instead of an anchor. The link still resolves to something, the embed renders nothing, and Obsidian never complains. If an embed of yours is mysteriously blank, check the source file before you check the link. Nine times out of ten the anchor got swallowed by the block above it.</p>
<p>Two limits are worth knowing before you build a workflow on this. Obsidian does not support linking to a <em>part</em> of a quotation, callout, or table. And block references are an Obsidian extension, not standard Markdown, so the moment you export the vault to a static site generator or open it in another editor, <code>#^rollback-rule</code> is just text.</p>
<h2 id="composing-instead-of-copying" tabindex="-1">Composing instead of copying <a class="header-anchor" href="#composing-instead-of-copying" aria-label="Permalink to &quot;Composing instead of copying&quot;">&ZeroWidthSpace;</a></h2>
<p>Once block embeds are reliable, the writing workflow inverts. A note stops being a container you fill and becomes an arrangement of things that already exist.</p>
<p>The pattern that pays off fastest: write genuinely atomic notes, one idea per file, then compose longer pieces by embedding the parts and writing only the connective tissue between them.</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold">##</span><span class="shk-light-4475b7 shk-light-font-weight-bold shk-dark-99bdea shk-dark-font-weight-bold"> Why we stopped shipping on Fridays</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">![[Deploy Runbook#^rollback-rule]]</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">That constraint is most of the argument. Add a weekend and the cheap</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">option is the one nobody is around to take.</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">![[Incident 2026-03-11#^postmortem-takeaway]]</span></span></code></pre>
</div><p>The essay is now a view over your vault rather than a snapshot of it. Sharpen the rollback rule once and every piece quoting it updates.</p>
<p>Finding blocks worth embedding gets easier with two search shortcuts. Typing <code>[[##</code> searches headings across the whole vault, and <code>[[^^</code> searches blocks. Block search returns far more results than heading search, since nearly every paragraph qualifies, so it works best when you already have a distinctive phrase in mind.</p>
<p>Start small. Pick the one paragraph in your vault you have copied most often, a definition, a checklist, a standing decision, give it a human-readable ID, and replace the copies with embeds. The full syntax, including the placement rules above, lives in the <a href="https://help.obsidian.md/links" target="_blank" rel="noreferrer">Internal links</a> page of the Obsidian docs.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>pkm</category>
            <category>linking</category>
            <category>note-taking</category>
            <category>markdown</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-block-embeds-stop-copy-pasting-your-own-notes.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Inline Dataview Queries: Live Numbers Inside Your Notes]]></title>
            <link>https://danholloran.me/posts/inline-dataview-queries-live-numbers-inside-your-notes</link>
            <guid isPermaLink="false">https://danholloran.me/posts/inline-dataview-queries-live-numbers-inside-your-notes</guid>
            <pubDate>Tue, 04 Aug 2026 07:07:44 GMT</pubDate>
            <description><![CDATA[Dataview code blocks give you tables. Inline queries give you a single live value in the middle of a sentence, which turns out to be the feature you reach…]]></description>
            <content:encoded><![CDATA[<p>Most people meet Dataview through the big fenced code block: a <code>dataview</code> block that spits out a table of every project, every book, every unfinished task. It is genuinely great, and it is also the reason a lot of vaults end up with one enormous dashboard note that nobody reads and a hundred ordinary notes still full of hand-typed numbers that went stale weeks ago.</p>
<p>The line at the top of a project note that says &quot;3 open tasks, due in 12 days&quot; is the problem. You wrote it once, it was true once, and now it quietly lies. A table cannot fix that, because a table is not a sentence. What fixes it is the part of Dataview almost nobody uses on day one: the inline query.</p>
<h2 id="one-backtick-and-an-equals-sign" tabindex="-1">One backtick and an equals sign <a class="header-anchor" href="#one-backtick-and-an-equals-sign" aria-label="Permalink to &quot;One backtick and an equals sign&quot;">&ZeroWidthSpace;</a></h2>
<p>An inline DQL query is an inline code span whose content starts with <code>=</code>. Dataview replaces the whole span with the computed value when the note renders:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Last edited </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= this.file.mtime</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5">, filed under </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= this.area</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5">.</span></span></code></pre>
</div><p><code>this.</code> refers to the current page, so <code>this.file.name</code>, <code>this.file.mtime</code>, and any property you have defined in frontmatter or as an inline field are all fair game. You can reach into another note with link syntax:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">The kickoff deck lives in </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= [[Q3 Launch]].file.folder</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5">.</span></span></code></pre>
</div><p>Two constraints keep this honest. An inline DQL query always renders <strong>exactly one value</strong>, never a list or a table. And query types and data commands (<code>TABLE</code>, <code>FROM</code>, <code>WHERE</code>, <code>SORT</code>) are not available inside inlines. What you get instead is the full expression and function library, which is more than enough:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Ships in </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= this.deadline - date(today)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5">.</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Status: </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= choice(this.blocked, "**Blocked**", "Moving")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5">.</span></span></code></pre>
</div><p>That <code>choice()</code> call is the whole trick in miniature. The sentence reads like prose, and it rewrites itself the moment the <code>blocked</code> property flips.</p>
<p>If the <code>=</code> prefix collides with something in your writing, Settings → Community plugins → Dataview → Codeblock Settings → Inline Query Prefix will let you change it to <code>dv:</code> or <code>~</code> instead.</p>
<h2 id="where-this-actually-earns-its-keep" tabindex="-1">Where this actually earns its keep <a class="header-anchor" href="#where-this-actually-earns-its-keep" aria-label="Permalink to &quot;Where this actually earns its keep&quot;">&ZeroWidthSpace;</a></h2>
<p>The obvious use is a daily note header. Instead of a dashboard you have to navigate to, the count comes to you:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold">#</span><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold"> `</span><span class="shk-light-2e7d32 shk-light-font-weight-bold shk-dark-a9ce93 shk-dark-font-weight-bold">= dateformat(date(today), "cccc, LLLL d")</span><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold">`</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= length(filter(this.file.tasks, (t) => !t.completed))</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5"> open today.</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Weather planning: </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= choice(date(today).weekday > 5, "weekend pace", "workday pace")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5">.</span></span></code></pre>
</div><p>The second use is subtler and better: metadata that reads as English. Dataview indexes inline fields written with a double colon, so a project note can carry its own state in a sentence rather than in a properties block nobody scrolls up to check.</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Currently status:: waiting on legal, owner:: Dana, review-by:: 2026-08-19.</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">That is </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= this.review-by - date(today)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5"> from now, which means</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= choice(this.review-by - date(today) &#x3C; dur("7 days"), "escalate this week", "no action yet")</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5">.</span></span></code></pre>
</div><p>Note the field names. <code>status</code> and <code>Status</code> are different fields to Dataview, and <code>&quot;Active&quot;</code> will never match <code>&quot;active&quot;</code> in a comparison. Inline fields make this failure mode easier to hit than frontmatter does, because you are typing them mid-sentence rather than filling in a template. Pick lowercase, hyphenated names and never deviate.</p>
<p>The third use is index and MOC notes. A map-of-content page that says &quot;42 notes&quot; is wrong the day after you write it, but this is not:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">This area holds </span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">= length(link(this.file.name).file.inlinks)</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-1a262c shk-dark-e5e5e5"> linked notes.</span></span></code></pre>
</div><h2 id="when-to-reach-for-the-js-variant-and-when-to-stop" tabindex="-1">When to reach for the JS variant, and when to stop <a class="header-anchor" href="#when-to-reach-for-the-js-variant-and-when-to-stop" aria-label="Permalink to &quot;When to reach for the JS variant, and when to stop&quot;">&ZeroWidthSpace;</a></h2>
<p>There is a second inline form, prefixed with <code>$=</code>, that runs Dataview's JavaScript API and can output multiple values:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span><span class="shk-light-2e7d32 shk-dark-a9ce93">$= dv.current().file.tasks.where(t => !t.completed).length</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">`</span></span></code></pre>
</div><p>It is more capable and correspondingly more dangerous. Dataview JS has access to your file system, so never paste a <code>dataviewjs</code> snippet from a forum thread you have not read line by line. For most inline needs, plain DQL with <code>choice()</code>, <code>length()</code>, and <code>filter()</code> covers it without opening that door.</p>
<p>The bigger caution is portability. Every inline query is Dataview-specific syntax living inside your Markdown. Open the vault in any other editor, or hand a note to a colleague, and they see a literal backtick-equals string instead of a number. Obsidian's core Bases plugin now handles the table-shaped half of this problem natively, but there is no core equivalent for a computed value inside a paragraph. That is a real trade: you are buying live prose with plugin lock-in.</p>
<p>Which is fine, as long as you spend it deliberately. Use inline queries for the handful of numbers you would otherwise be tempted to hand-update, and leave everything else as plain text. The <a href="https://blacksmithgu.github.io/obsidian-dataview/queries/dql-js-inline/" target="_blank" rel="noreferrer">Dataview documentation on DQL, JS, and inlines</a> is the reference worth bookmarking; the <a href="https://blacksmithgu.github.io/obsidian-dataview/reference/functions/" target="_blank" rel="noreferrer">expression and function pages</a> are where the good ideas hide.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>dataview</category>
            <category>pkm</category>
            <category>workflows</category>
            <category>dataview-plugin</category>
            <enclosure url="https://danholloran.me/images/posts/inline-dataview-queries-live-numbers-inside-your-notes.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Your Obsidian Plugin List Is a Supply Chain]]></title>
            <link>https://danholloran.me/posts/your-obsidian-plugin-list-is-a-supply-chain</link>
            <guid isPermaLink="false">https://danholloran.me/posts/your-obsidian-plugin-list-is-a-supply-chain</guid>
            <pubDate>Fri, 31 Jul 2026 07:07:59 GMT</pubDate>
            <description><![CDATA[Obsidian's 2026 Community directory added automated scans and safety scorecards for every plugin version.]]></description>
            <content:encoded><![CDATA[<p>The first time you click <strong>Turn on community plugins</strong>, Obsidian shows you a warning and most of us dismiss it in half a second. Two years later there are thirty-something plugins in the vault, six of which you cannot remember installing, and every single one of them can read every file on your machine.</p>
<p>That is not alarmism, it is the documented design. Obsidian's own <a href="https://obsidian.md/help/plugin-security" target="_blank" rel="noreferrer">plugin security page</a> says it plainly: due to technical limitations, Obsidian cannot reliably restrict plugins to specific permissions or access levels. Plugins inherit Obsidian's access. They can read files on your computer, connect to the internet, and install additional programs. Your plugin list is a dependency tree with no lockfile and no review step, sitting on top of the notes you care most about.</p>
<h2 id="what-actually-changed-in-2026" tabindex="-1">What actually changed in 2026 <a class="header-anchor" href="#what-actually-changed-in-2026" aria-label="Permalink to &quot;What actually changed in 2026&quot;">&ZeroWidthSpace;</a></h2>
<p>On May 12, Obsidian launched <a href="https://community.obsidian.md" target="_blank" rel="noreferrer">Obsidian Community</a>, a new directory and developer dashboard, and quietly fixed the biggest gap in the old model. Previously, only a plugin's <em>initial</em> submission got a manual review by a small team, and every version after that shipped unreviewed. With more than 4,000 plugins and themes in the ecosystem and 120 million total downloads, that queue had become the bottleneck. Coding agents making it trivial to spin up a new plugin did not help.</p>
<p>Now every version is automatically scanned for security vulnerabilities, code quality issues, and malware. The results show up as a <strong>safety scorecard</strong> on each project's directory page. Manual review did not go away, it got redirected to popular, featured, and community-flagged plugins where a human read is worth the most. Obsidian has said disclosures are coming next, so plugins will declare up front whether they touch the network, file system, or clipboard, along with verified-author labels.</p>
<p>Two caveats worth holding onto. Scorecards are new, and Obsidian explicitly warns they can produce false positives and false negatives. And every previously approved plugin was granted a temporary exception, so a plugin that fails the new checks can still be installed today. A green card is a signal, not a guarantee, and the absence of a red one means less than you would like.</p>
<h2 id="restricted-mode-is-a-debugging-tool-not-just-a-switch" tabindex="-1">Restricted Mode is a debugging tool, not just a switch <a class="header-anchor" href="#restricted-mode-is-a-debugging-tool-not-just-a-switch" aria-label="Permalink to &quot;Restricted Mode is a debugging tool, not just a switch&quot;">&ZeroWidthSpace;</a></h2>
<p>Restricted Mode is on by default and everyone turns it off on day one, which is why most people never think about it again. It is more useful than that.</p>
<p>Turning it back on (Settings → Community plugins → Restricted mode → <strong>Turn on</strong>) leaves every installed plugin in the vault, it just stops Obsidian from running any of them. That makes it the fastest way to answer the question you actually have after a bad update: is Obsidian broken, or is one of my plugins broken?</p>
<p>The workflow, when something goes weird:</p>
<ol>
<li>Turn on Restricted Mode. If the problem disappears, it is a plugin.</li>
<li>Turn it back off and disable everything.</li>
<li>Re-enable in halves until the culprit shows up.</li>
</ol>
<p>That takes about five minutes and beats scrolling the forum hoping someone else hit it first.</p>
<h2 id="a-twenty-minute-vault-audit" tabindex="-1">A twenty minute vault audit <a class="header-anchor" href="#a-twenty-minute-vault-audit" aria-label="Permalink to &quot;A twenty minute vault audit&quot;">&ZeroWidthSpace;</a></h2>
<p>Open <strong>Settings → Community plugins</strong> and read the list honestly. For each entry, ask whether you have used it in the last month. If not, disable it and leave it disabled for two weeks. If nothing breaks and you never miss it, uninstall it. Every plugin you remove is one fewer thing that can go wrong, and one fewer thing to keep current.</p>
<p>For the plugins that survive that cut, pull up the directory page for each one and check two things: the safety scorecard, and the last-updated date. The Community site lets you sort by updated date now, which makes abandoned projects much easier to spot than the in-app browser ever did.</p>
<p>You can also just look at the code. Plugins live as plain files in your vault:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">cd</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> /path/to/vault/.obsidian/plugins</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">for</span><span class="shk-light-1a262c shk-dark-e5e5e5"> p </span><span class="shk-light-4475b7 shk-dark-99bdea">in</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> */</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span><span class="shk-light-4475b7 shk-dark-99bdea"> do</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  hits</span><span class="shk-light-4475b7 shk-dark-99bdea">=</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">$(</span><span class="shk-light-6b63c8 shk-dark-bab5ea">grep</span><span class="shk-light-337e85 shk-dark-87c4cd"> -oE</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">https?://[a-zA-Z0-9.-]+</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-1a262c shk-dark-e5e5e5">$p</span><span class="shk-light-2e7d32 shk-dark-a9ce93">/main.js</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-4475b7 shk-dark-99bdea"> 2></span><span class="shk-light-2e7d32 shk-dark-a9ce93">/dev/null</span><span class="shk-light-4475b7 shk-dark-99bdea"> |</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> sort</span><span class="shk-light-337e85 shk-dark-87c4cd"> -u</span><span class="shk-light-4475b7 shk-dark-99bdea"> |</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> wc</span><span class="shk-light-337e85 shk-dark-87c4cd"> -l</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">)</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">  printf</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> '</span><span class="shk-light-2e7d32 shk-dark-a9ce93">%3d unique hosts  %s\n</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">'</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-1a262c shk-dark-e5e5e5">$hits</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "${</span><span class="shk-light-1a262c shk-dark-e5e5e5">p</span><span class="shk-light-4475b7 shk-dark-99bdea">%/</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}"</span></span>
<span class="line"><span class="shk-light-4475b7 shk-dark-99bdea">done</span><span class="shk-light-4475b7 shk-dark-99bdea"> |</span><span class="shk-light-6b63c8 shk-dark-bab5ea"> sort</span><span class="shk-light-337e85 shk-dark-87c4cd"> -rn</span></span></code></pre>
</div><p>Most <code>main.js</code> files are bundled and minified, so this is a smell test rather than an audit. But a note-formatting plugin with a dozen distinct hostnames in it is worth ten minutes of your attention.</p>
<p>Finally, write down why each plugin is there. A single note with a short block per plugin turns the next audit into a review instead of an archaeology dig:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">plugin</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> Dataview</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">installed</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 2025-03-11</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">reviewed</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> 2026-07-31</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">why</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> project rollup queries in Projects/</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">replaceable_by</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> Bases</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span></code></pre>
</div><p>The <code>replaceable_by</code> field is the useful one. Obsidian keeps absorbing plugin functionality into core, and plugins you adopted in 2023 are increasingly things the app now does natively.</p>
<h2 id="where-to-start" tabindex="-1">Where to start <a class="header-anchor" href="#where-to-start" aria-label="Permalink to &quot;Where to start&quot;">&ZeroWidthSpace;</a></h2>
<p>Pick the five oldest plugins in your list and look up each one on <a href="https://community.obsidian.md" target="_blank" rel="noreferrer">community.obsidian.md</a>. If a plugin has not been updated in a year and the scorecard is unhappy, that is your first uninstall. If you suspect one is genuinely malicious, you can flag it straight from its directory page or report it to Obsidian support.</p>
<p>The new review system does real work on your behalf, and it is a meaningful improvement over the old one. It just does not replace knowing what you installed.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>plugins</category>
            <category>pkm</category>
            <category>community-plugins</category>
            <enclosure url="https://danholloran.me/images/posts/your-obsidian-plugin-list-is-a-supply-chain.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Obsidian QuickAdd: Capture, Templates, and Macros Without Leaving Your Keyboard]]></title>
            <link>https://danholloran.me/posts/obsidian-quickadd-capture-templates-and-macros-without-leaving-your-keyboard</link>
            <guid isPermaLink="false">https://danholloran.me/posts/obsidian-quickadd-capture-templates-and-macros-without-leaving-your-keyboard</guid>
            <pubDate>Tue, 28 Jul 2026 07:08:00 GMT</pubDate>
            <description><![CDATA[QuickAdd turns Obsidian into a keyboard-driven capture machine. Here is how its Captures, Templates, and Macros actually work, with copy-paste examples.]]></description>
            <content:encoded><![CDATA[<p>The friction that kills most note-taking systems is the gap between having a thought and writing it down. You want to jot a quick idea, but first you have to find the right note, scroll to the right section, format the line, and by then the thought is gone. Obsidian's core Templates plugin helps a little, but it stops at &quot;insert this text here.&quot; It cannot ask you a question, drop the answer into a file you are not currently looking at, and link it back to where you started.</p>
<p>That is the space <a href="https://quickadd.obsidian.guide/" target="_blank" rel="noreferrer">QuickAdd</a> fills. It is a Community plugin that bundles four choice types — Capture, Template, Macro, and Multi — into commands you trigger from the palette or a hotkey. Once configured, adding a timestamped log entry, spinning up a fully populated meeting note, or running a five-step workflow all become a single keystroke.</p>
<h2 id="captures-append-to-a-file-you-re-not-looking-at" tabindex="-1">Captures: append to a file you're not looking at <a class="header-anchor" href="#captures-append-to-a-file-you-re-not-looking-at" aria-label="Permalink to &quot;Captures: append to a file you're not looking at&quot;">&ZeroWidthSpace;</a></h2>
<p>A Capture is the workhorse. It writes content into a predefined file without making you open it first. Open Settings → Community plugins → QuickAdd, type a name like &quot;Log to journal,&quot; pick <strong>Capture</strong> in the dropdown, click <strong>Add Choice</strong>, then click the gear (⚙) to configure it.</p>
<p>The two fields that matter are <strong>Capture To</strong> and <strong>Capture format</strong>. Capture To is the destination path, and it accepts the same placeholder syntax as everything else in QuickAdd:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>Journal/{{DATE:YYYY-MM-DD}}.md</span></span></code></pre>
</div><p>Turn on Capture format and define the shape of one entry:</p>
<div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span>- {{DATE:HH:mm}} {{VALUE}}</span></span></code></pre>
</div><p>Now trigger the command, type &quot;called the dentist,&quot; and QuickAdd appends <code>- 14:32 called the dentist</code> to today's journal file — even though you were three notes away. <code>{{VALUE}}</code> opens a prompt and inserts whatever you type; if you had text selected in the editor, that selection becomes the value instead of prompting. The <code>{{DATE}}</code> placeholder takes a <a href="https://quickadd.obsidian.guide/docs/FormatSyntax/" target="_blank" rel="noreferrer">Moment.js format string</a> after the colon, and even supports a day offset like <code>{{DATE:YYYY-MM-DD+3}}</code> for &quot;three days from now.&quot; Options like <strong>Insert after</strong> let you target a specific heading, so a capture can land under <code>## Log</code> rather than at the bottom of the file.</p>
<h2 id="templates-new-notes-fully-filled-in" tabindex="-1">Templates: new notes, fully filled in <a class="header-anchor" href="#templates-new-notes-fully-filled-in" aria-label="Permalink to &quot;Templates: new notes, fully filled in&quot;">&ZeroWidthSpace;</a></h2>
<p>A Template choice creates a whole new note from a template file. This is where QuickAdd earns its keep for anything repetitive — meeting notes, book notes, project kickoffs. You point the choice at a template, set a <strong>File Name Format</strong> (which also accepts placeholders), and choose the folder.</p>
<p>Say your template file contains:</p>
<div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">type</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> meeting</span></span>
<span class="line"><span class="shk-light-77771c shk-dark-dada93">attendees</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> VALUE:who was there?</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> }</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">---</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262cbb shk-light-font-weight-bold shk-dark-e5e5e5bb shk-dark-font-weight-bold">#</span><span class="shk-light-4475b7 shk-light-font-weight-bold shk-dark-99bdea shk-dark-font-weight-bold"> {{VALUE:meeting title}}</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">Date:: {{DATE:YYYY-MM-DD}}</span></span></code></pre>
</div><p>Set the file name format to <code>Meetings/{{DATE:YYYY-MM-DD}} {{VALUE:meeting title}}</code> and trigger the command. QuickAdd prompts you once for the title, once for attendees, builds the note, fills the frontmatter and date, and drops you into it ready to type. Named prompts like <code>{{VALUE:meeting title}}</code> reuse the same answer everywhere the name appears, so the title flows into both the filename and the heading from a single question.</p>
<h2 id="macros-chain-it-all-into-one-keystroke" tabindex="-1">Macros: chain it all into one keystroke <a class="header-anchor" href="#macros-chain-it-all-into-one-keystroke" aria-label="Permalink to &quot;Macros: chain it all into one keystroke&quot;">&ZeroWidthSpace;</a></h2>
<p>A Macro is what separates QuickAdd from lighter tools. It chains several actions into one command and passes data from step to step. A single macro can capture a line to your daily note, then open a template-generated project note, then run a bit of inline JavaScript to fetch the current clipboard URL and drop it in. Because macros can call user scripts, this is also where QuickAdd overlaps with <a href="https://quickadd.obsidian.guide/docs/ComingFromTemplater/" target="_blank" rel="noreferrer">Templater</a> — but with a menu-driven flow instead of embedding logic in every template.</p>
<p>A practical macro: &quot;New reading note&quot; captures the highlighted title to a <code>Reading/Inbox.md</code> list, then creates a book note from a template, then adds a backlink between them. You build it by adding each choice to the macro in order; QuickAdd runs them top to bottom.</p>
<p>The payoff is compounding. Each individual choice is small, but once you have a handful bound to hotkeys, the mechanical overhead of maintaining a vault mostly disappears. Start with one Capture for your most common quick note, live with it for a week, and add the next piece only when you feel the friction. The <a href="https://quickadd.obsidian.guide/docs/" target="_blank" rel="noreferrer">Getting Started guide</a> is the fastest way in, and the format syntax page is worth bookmarking — most of QuickAdd's power lives in those placeholders.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>plugins</category>
            <category>workflows</category>
            <category>productivity</category>
            <enclosure url="https://danholloran.me/images/posts/obsidian-quickadd-capture-templates-and-macros-without-leaving-your-keyboard.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Building an Obsidian Theme: A Practical Guide to CSS Variables]]></title>
            <link>https://danholloran.me/posts/building-an-obsidian-theme-a-practical-guide-to-css-variables</link>
            <guid isPermaLink="false">https://danholloran.me/posts/building-an-obsidian-theme-a-practical-guide-to-css-variables</guid>
            <pubDate>Fri, 24 Jul 2026 07:07:32 GMT</pubDate>
            <description><![CDATA[You do not need to fight cascade specificity to restyle Obsidian. Override a handful of CSS variables and you have a real theme that respects light and dark…]]></description>
            <content:encoded><![CDATA[<p>Most people who want to change how Obsidian looks reach for a community theme, tweak it until something breaks, and give up. The friction is real, but it usually comes from the wrong mental model. You picture a theme as thousands of lines of CSS selectors chasing deeply nested elements, each one a fresh fight with specificity. Obsidian's actual design is much kinder than that. The entire interface is painted from a few hundred named CSS variables, and a theme is mostly just a file that overrides the ones you care about.</p>
<p>Once that clicks, building a theme stops being a reverse-engineering exercise and becomes something closer to filling in a palette.</p>
<h2 id="the-whole-theme-is-two-files" tabindex="-1">The whole theme is two files <a class="header-anchor" href="#the-whole-theme-is-two-files" aria-label="Permalink to &quot;The whole theme is two files&quot;">&ZeroWidthSpace;</a></h2>
<p>Obsidian loads themes from the <code>themes</code> folder inside your vault's <code>.obsidian</code> directory. A theme is a folder with exactly two files: a <code>manifest.json</code> that names it and a <code>theme.css</code> that styles it. The fastest way to start is to clone the official sample:</p>
<div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">cd</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> path/to/vault/.obsidian/themes</span></span>
<span class="line"><span class="shk-light-6b63c8 shk-dark-bab5ea">git</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> clone</span><span class="shk-light-2e7d32 shk-dark-a9ce93"> https://github.com/obsidianmd/obsidian-sample-theme.git</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> "</span><span class="shk-light-2e7d32 shk-dark-a9ce93">My Theme</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">"</span></span></code></pre>
</div><p>Open <code>manifest.json</code>, set <code>name</code> to something human like <code>&quot;My Theme&quot;</code>, and make sure the folder on disk matches that name exactly. Obsidian keys the theme off the manifest name, so a mismatch means it silently will not appear. Restart Obsidian after editing the manifest, then enable the theme under Settings, Appearance, Themes. From here, every change lives in <code>theme.css</code> and reloads without a restart.</p>
<h2 id="override-variables-not-selectors" tabindex="-1">Override variables, not selectors <a class="header-anchor" href="#override-variables-not-selectors" aria-label="Permalink to &quot;Override variables, not selectors&quot;">&ZeroWidthSpace;</a></h2>
<p>The heart of theming is overriding Obsidian's built-in variables rather than writing new rules. The app exposes more than 400 of them, covering color, typography, spacing, and component chrome. To change the editor font and the background, you do not target the editor element. You reassign the variables it already reads from:</p>
<div class="language-css vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">css</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">body</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  --font-text-theme</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-337e85 shk-dark-87c4cd"> Georgia</span><span class="shk-light-4475b7 shk-dark-99bdea">,</span><span class="shk-light-337e85 shk-dark-87c4cd"> serif</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">theme-dark</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  --background-primary</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> #</span><span class="shk-light-337e85 shk-dark-87c4cd">18004f</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  --background-secondary</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> #</span><span class="shk-light-337e85 shk-dark-87c4cd">220070</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span>
<span class="line"></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">.</span><span class="shk-light-6b63c8 shk-dark-bab5ea">theme-light</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  --background-primary</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> #</span><span class="shk-light-337e85 shk-dark-87c4cd">ece4ff</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  --background-secondary</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> #</span><span class="shk-light-337e85 shk-dark-87c4cd">d9c9ff</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span></code></pre>
</div><p>The selector you choose is what makes a theme feel finished. Put values that should hold in both color schemes on <code>body</code>. Put anything that should change between modes under <code>.theme-dark</code> or <code>.theme-light</code>. This split is why a good theme flips cleanly when someone toggles their base color scheme, and why a lazy one looks broken the moment the sun goes down. Reserve <code>:root</code> for the handful of plugin-facing variables that genuinely need to reach every element, like input focus borders; overusing it is how themes become impossible to tweak with a snippet later.</p>
<h2 id="find-the-variable-with-the-inspector" tabindex="-1">Find the variable with the inspector <a class="header-anchor" href="#find-the-variable-with-the-inspector" aria-label="Permalink to &quot;Find the variable with the inspector&quot;">&ZeroWidthSpace;</a></h2>
<p>The reference list is long, but you rarely need to read it top to bottom. Obsidian ships Chromium's developer tools, so you can point at any element and read the variable straight off it. Open the tools with <code>Cmd+Option+I</code> (or <code>Ctrl+Shift+I</code>), click the element-picker cursor, and select, say, the left ribbon. In the Styles panel you will see the rule resolve to something like <code>background-color: var(--ribbon-background)</code>. Now you know the exact knob to turn:</p>
<div class="language-css vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">css</span><pre class="shiki shiki-themes Grimicorn Light Grimicorn Dark vp-code" tabindex="0" v-pre=""><code><span class="line"><span class="shk-light-77771c shk-dark-dada93">body</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> {</span></span>
<span class="line"><span class="shk-light-1a262c shk-dark-e5e5e5">  --ribbon-background</span><span class="shk-light-4475b7 shk-dark-99bdea">:</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb"> #</span><span class="shk-light-337e85 shk-dark-87c4cd">12003a</span><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">;</span></span>
<span class="line"><span class="shk-light-1a262cbb shk-dark-e5e5e5bb">}</span></span></code></pre>
</div><p>If you would rather browse, open the Sources tab, expand Page, top, obsidian.md, and open <code>app.css</code>. Search for a name with two leading spaces, like <code>  --ribbon-</code>, and you will land on the definitions rather than the hundreds of places they are used. That two-space trick is the single most useful habit for theme work.</p>
<h2 id="ship-it-with-restraint" tabindex="-1">Ship it with restraint <a class="header-anchor" href="#ship-it-with-restraint" aria-label="Permalink to &quot;Ship it with restraint&quot;">&ZeroWidthSpace;</a></h2>
<p>The temptation once you find the inspector is to override everything. Resist it. The best themes lean on the semantic layer, colors like <code>--background-primary</code>, <code>--text-normal</code>, and <code>--interactive-accent</code>, and let Obsidian's own component variables inherit from those. Change the accent once and buttons, links, and the active-line highlight all move together. Hardcode a hex value deep in a component and you have created a spot that will drift out of sync the next time Obsidian updates its defaults.</p>
<p>When you are ready to share, the sample theme repo doubles as a template you can publish to the community gallery. But you do not have to go that far to benefit. A twenty-line <code>theme.css</code> that recolors your workspace to something you actually enjoy staring at for eight hours is a completely legitimate theme, and now you know it is only twenty lines away. Start with the two files, override the semantic colors, and reach for the inspector whenever something surprises you.</p>
]]></content:encoded>
            <category>obsidian</category>
            <category>knowledge-management</category>
            <category>productivity</category>
            <category>obsidian-api-and-themes</category>
            <enclosure url="https://danholloran.me/images/posts/building-an-obsidian-theme-a-practical-guide-to-css-variables.jpg" length="0" type="image/jpg"/>
        </item>
    </channel>
</rss>