vaw Wiki
Reading preferences
Text size

Obsidian compatibility

On this page

Obsidian compatibility#

vaw parses Markdown and YAML frontmatter without loading Obsidian or community plugins. This page describes the behavior in the current generator. Notes remain the source of truth; the build does not modify them.

Supported syntax#

Feature Behavior
CommonMark Headings, paragraphs, lists, nested lists, blockquotes, links, images, code, and thematic breaks render as static HTML. Raw HTML is disabled.
GFM Tables, task lists, strikethrough, and autolinks are supported. Task checkboxes are read-only and have accessible names.
Footnotes Goldmark footnotes render as in-page references.
Frontmatter title, description, aliases, tags, the configured publish boolean, slug, created, updated, and noindex are validated and extracted. Dates accept ISO dates or RFC3339 timestamps and are normalized to YYYY-MM-DD. Custom slugs accept safe Unicode letter/number segments separated by /, -, or _; dot segments, hidden segments, absolute paths, and unsupported characters are rejected.
Wikilinks [[Note]], [[Folder/Note]], [[Alias]], `[[Note
Note transclusion ![[Note]], ![[Note#Heading]], and ![[Note#^block-id]] expand published notes. Heading embeds include that heading and following blocks up to the next heading at the same or a higher level. Embeds can nest; cycles, nesting depth, and expanded output size are bounded. A note embed should be the only content on its paragraph line. Mixed inline note embeds fall back to a link with a diagnostic.
Callouts Common Obsidian types and aliases, custom titles, nested callouts, and +/- collapsible states render as accessible <aside> or <details> elements. Unknown safe type names are retained as custom callout types.
Highlights and tags ==highlight== renders as <mark>. Inline tags such as #research and #security/web are indexed with frontmatter tags. Tag path segments accept letters, numbers, _, and -; invalid frontmatter tags are rejected.
Heading and block anchors Headings receive deterministic fragment IDs. Paragraphs and headings can end with ^block-id; block IDs are limited to letters, numbers, _, and -, and resolve in links and embeds.
Comments %%comment%% content outside recognized code spans and code blocks is removed before rendering, relationship excerpts, and search text. An unmatched %% hides the rest of the note. The same characters inside code are treated as literal code.
Mermaid Fenced mermaid blocks become escaped <pre class="mermaid" data-diagram="mermaid"> nodes. The bundled frontend can render these nodes locally; note source never runs as JavaScript. Mermaid directives and configuration are restricted by the frontend renderer.
Math $inline math$, $$inline display math$$, and display blocks delimited by $$ become escaped semantic math nodes. The bundled frontend uses local KaTeX assets; note source never becomes raw HTML.
Media embeds `![[image.png
Code highlighting Chroma highlights recognized languages. Unknown languages remain escaped code. Code blocks can be focused from the keyboard to scroll wide lines.

Publishing defaults to explicit mode: a note is public only when it has publish: true. In implicit mode, notes publish unless publish: false. Folder exclusions and a false publishing value always deny publication. Hidden files and folders, including .obsidian, .git, and .trash, are skipped. A private or excluded note cannot resolve, appear in relationships, or be inserted through transclusion. Public references to unavailable notes use generic text and diagnostics that do not reveal the target path, title, alias, or supplied label.

Resolution is deterministic and case-insensitive for note paths and lookup keys. A path containing folders is first treated as vault-root-relative. ./ and ../ paths are relative to the current note. A bare filename first checks for a sibling, then checks published note basenames, titles, slugs, and aliases. The latter lookup succeeds only when exactly one published note matches. Duplicate aliases are diagnosed, and ambiguous links stay unresolved rather than choosing an arbitrary note.

Leading-slash note paths are vault-root-relative. Unicode filenames, spaces, URL-encoded paths, and aliases are supported. Heading links accept generated heading text and fragment IDs. Heading IDs use the visible label for resolved public links; unavailable targets contribute generic text so their labels cannot leak through generated IDs. Duplicate heading slugs receive a numeric suffix beginning at -2. Block links use #^block-id; the ^ is omitted from the generated URL fragment.

Backlinks are built only from resolved public relationships. Each relationship includes a sanitized source excerpt capped at 200 Unicode characters and the closest preceding heading when available. Transcluded notes and links to headings or blocks retain their relationship kind and public URL.

When content is embedded multiple times, heading and block IDs are prefixed per embed instance. A local fragment link inside an embed is rebased only when its destination is included in that embedded section; references outside the selected section continue to point to the source note. Standalone transclusion is enabled by default, with a default maximum nesting depth of 8 and an expanded-output limit of 8 MiB. These limits can be configured by the caller; transclusion can be disabled to render note embeds as links.

Attachments and publication policy#

The default referenced asset policy copies only allowed attachments referenced from public notes. allowlist copies matching eligible attachments and permits them to resolve from notes. all copies eligible attachments only when explicitly selected. All policies honor content exclusions. Symlinks are not followed and external resources are never downloaded during a build.

Allowed attachments are PNG, JPEG, GIF, WebP, AVIF, ICO, PDF, MP3, OGG, WAV, MP4, WebM, TXT, and CSV. SVG is excluded because it can contain active content. Attachments are limited to 32 MiB each and aggregate copied assets to 512 MiB. An oversized file selected through allowlist or all fails the build. .obsidian, .git, hidden paths, excluded folders, and unrelated files are never copied by these policies.

Unsupported syntax and safe fallbacks#

Syntax or feature Behavior
Dataview / DataviewJS, Templater, community plugins Never loaded or executed.
Arbitrary JavaScript or executable directives Never executed. Mermaid configuration directives are filtered by the bundled renderer.
Raw HTML Disabled by default; note-authored HTML does not become active markup.
SVG attachments Not copied or inlined.
Unsupported local file extensions Render as generic unavailable content and are not copied.
Remote HTTP(S) links and images Kept as remote URLs; the build does not fetch them.
Unsafe URL schemes javascript:, data:, file:, obsidian:, protocol-relative URLs, and unsupported schemes are removed or rendered as generic unavailable content.
Unrecognized Markdown Left to Goldmark's ordinary Markdown behavior where possible, with safe HTML output.

Limits and filesystem behavior#

Vault-root symlinks are rejected. Symlinked files and directories inside the vault are skipped; requesting follow_symlinks is an error. Markdown files are opened relative to a pinned vault root and rejected if their identity changes during discovery and read. A build accepts at most 100,000 Markdown files and 200,000 regular files. The CLI limits an individual Markdown file to 16 MiB; the content package standalone default is 8 MiB. Aggregate Markdown input defaults to 512 MiB. Referenced attachments are limited to 32 MiB each. Expanded transclusion output defaults to 8 MiB with a maximum nesting depth of 8. SVG is excluded rather than sanitized. Notes whose routes collide, and assets whose output paths differ only by case, fail the build.

Content filters protect generated site output. They do not remove private notes already committed to a public Git repository, and they cannot detect every sensitive string manually written into a public note. Use a dedicated public-content repository or a private repository with carefully controlled hosting and CI access.

Linked notes

Related notes

Linked from

Search is ready.

    ↑ ↓ move · Enter open · Esc close

    Explore graph

    Open the graph to explore note relationships.