| f activeContentSlot | The slot that renders `element` inside a tree, where `insideCode` says an ancestor is a code block's figure: the figure's own `<pre>` belongs to it, not to a slot of its own. |
| f allocateRoutesPlugin | Assign final page slugs after publication, before links consume them. |
| f alternateNames | |
| f alternateRoutes | The routes a note's alternate names ask to redirect from, below the vault's mount: `aliases: [Old Name]` asks for `old-name`. `allocateRedirects` grants those still free. |
| f analytics | Contribute one browser tracker only when a vault selects an analytics provider. |
| f citations | Resolve bibliography paths from the vault, independent of the host process cwd. |
| f compileNoteVersion | Compiles `markdown`, a version of the published note `note` that sat at `path` in the vault, as the build compiles the note: run `ctx.plugins`' `parseFrontmatter` stage on it alone, then their link, OFM and embed stages on it among the notes and attachments the build publishes, embedding them from the build's own sources, then compile it with the build's compiler steps and any its own content alone needs. The version takes the note's place and route, and links resolve as they do from the note now. |
| f compileProtectedNoteSource | Compile a protected note in memory for the separate encrypted bundle. |
| f containsCode | Whether `element`'s descendants are inside a code block, given whether `element` is. |
| f contentProps | The props `slot`'s component gets for `element`, besides its children. |
| f contentSlot | The slot that renders `element`, or `undefined` for plain markup. |
| f createCorePlugins | Create the canonical ordered set of core plugins. Returned array matches the pipeline execution order. |
| f discoverFiles | core:discover-files — traverse vault directory, read file contents, assign slugs. |
| f emitArtifacts | |
| f emitDiscovery | |
| f emitImages | |
| f extractFrontmatter | Markdown parsing utilities — ported from @svartz/vault parse.ts. Kept Effect-free for plugin authors. |
| f filterUnpublished | |
| f groupAtBreaks | Split nodes into slides at each break. The breaks go, and so do slides with only blank nodes. |
| f hardLineBreaks | Turn prose newlines into `<br>` only when this plugin is configured. |
| f indexContent | core:index — single canonical index artifact producer. |
| f isNote | |
| f isUnsafeElement | Whether `element` is dropped, children and all. |
| f keepsAttachment | Whether the build may publish the attachment at `path` inside the vault: discovery reads its folder and the exclude patterns let it through. The build publishes it only once a published note references it. |
| f mount | Listen for the start key on every page; a navigation closes any open presentation. |
| f mount | Browser resource entry point. No tracker loads without resolved consumer config. |
| f mount | |
| f oxHugoFlavoredMarkdown | Normalize ox-hugo syntax before the required frontmatter and link parser. |
| f parseFrontmatter | core:parse-frontmatter — extract frontmatter and raw links from each file. |
| f pathRoute | The route a note's filename asks for: `people/Ada Lovelace.md` → `people/ada-lovelace`, `Guides/Guides.md` → `guides`. |
| f presentation | Let readers present any note: `plugins: [presentation()]` in `svartz.config.ts`. The browser script and stylesheet work with every theme. |
| f publishedAttachments | The vault attachments the site publishes, each at `<mount>/<path>`: the files public notes reference, as `core:filter-unpublished` settles them. Attachments only protected notes reference stay in their encrypted payload. |
| f publishesNote | Whether the build publishes a note at `path` inside the vault with `frontmatter`: discovery reads its folder, and the vault's include and exclude patterns let it through and it isn't a draft, unless a publication date publishes it anyway, and it isn't private. A published note may still be password-protected. Page history judges a note's earlier versions with it, at the paths they had then. |
| f renderPreview | The note's HTML, rendered from `markdown` (frontmatter and all) as the site would render its body. A URL naming one of `options.attachments`, by the build's rules, links to where the build publishes it: `<base><mount>/<vault path>`. Any other relative URL resolves from the note's page, as on the site. |
| f requestedSlug | The route a note asks for before `allocateRoutes` settles clashes: its frontmatter `slug`, else its filename's. |
| f resolveLinks | |
| f roamFlavoredMarkdown | Add Roam prose syntax after the normal GFM parser. |
| f routeHref | |
| f runsCode | Whether a browser would run `url` as a script or open it as an HTML document. Before it reads a URL's scheme, a browser drops the tabs and newlines anywhere in it and the spaces and control characters in front of it. |
| f safeAttributes | `element`'s HTML attributes without event handlers, `srcdoc`, or script and HTML-document URLs. |
| f sharedAttachmentNames | File names of published attachments that another attachment in the vault shares. The build resolves those by path only, so a resolver that sees only `publishedAttachments` needs them to resolve the same; their names are already public, and the other files' paths stay in the build. |
| f slideAction | What a key does. Keys with Ctrl, Cmd, or Alt stay with the browser. |
| f transformDescription | |
| f transformEmbeds | |
| f transformGfm | Register GFM parsing only while this plugin is active. |
| f transformLatex | Render public math with KaTeX and declare its stylesheet. |
| f transformOfm | |
| f transformSyntax | Add syntax highlighting for public notes with code. |
| f transformToc | core:transform-toc — Table of Contents extraction. |
| f wikilinkResolver | The note a wikilink target names from anywhere in the vault, as `core:resolve-links` resolves it, or null. A target that `closest` would settle by the linking note's folder names no note here. |