Skip to content - API reference
- v MODERATION_PLUGIN_ID
- f loadConfigEffect
- f parseConfigEffect
- f resolveConfigEffect
- v KNOWN_PLUGIN_KEYS
- @svartz/theme-api-docs
- @svartz/theme-blog
- @svartz/theme-docs
- @svartz/theme-mcp-docs
- @svartz/theme-minimal
- i ApiDocsThemeConfig
- i BlogThemeConfig
- i DocsThemeConfig
- i McpDocsThemeConfig
- i MinimalRouteConfig
- i MinimalThemeConfig
- @svartz/ui
- i LinkSegment
- f wikilinkSegments
- @svartz/plugins
- @svartz/vite
- @svartz/vite/host
- f clearPublicAssets
- v CORE_PLUGIN_IDS
- t CorePluginId
- f createCorePlugins
- f publicAssetsPlugin
- Analytics
- Annotations
- API docs
- Blog
- Citations
- Configuration reference
- Docs
- i DocSymbol
- Hard line breaks
- History
- MCP docs
- Minimal
- Moderation
- ox-hugo Markdown
- Plugin contract
- Presentation
- Published vault view
- Reader sign-in
- Reference
- Roam Markdown
- Submissions
- t SymbolKind
- i SymbolMember
- i SymbolParameter
- Theme contract
- Wiki
- @svartz/plugins/routes
- f alternateNames
- f alternateRoutes
- f isNote
- f pathRoute
- f requestedSlug
- f routeHref
- Links and routes
- @svartz/core
- v CONTRACT_VERSION
- f isPluginEnabled
- f normalizePlugin
- i SocialImageMetadata
- f sortPluginsForStage
- i SvartzTheme
- v THEME_FEATURE_STAGES
- i ThemeArtifactRequirements
- t ThemeComponentLoader
- i ThemeComponentRegistry
- i ThemeLayoutMap
- i ThemePluginPreset
- i ThemeRenderCapabilities
- t ThemeRequiredFeature
- i ThemeRouteDefinition
- Encrypted notes
- Publish vaults in a SvelteKit app
- @svartz/plugin-history/server
- @svartz/plugin-submissions/commits
- i Commit
- f commitReader
- i CommitReader
- f commitSource
- i CommitSource
- c CommitsUnavailable
- v default
- t FileAt
- v GITHUB_PAGE_SIZE
- v MAX_FILE_BYTES
- v MAX_GITHUB_READS
- v MAX_HISTORY_PAGE
- v MAX_REASON_LENGTH
- f mirrorsCommits
- v RECENT_PAGE_SIZE
- f routeClaimsOf
- f sourceToken
- v INDEX_CONTENT_ID
- f indexContent
- Choose and combine themes
- Obsidian Markdown
- Svartz
- Frontmatter
- Project layout
- Deploy a vault
- Get started
- Guides
- Installation
- Plugins
- The build pipeline
- Themes
- What gets published
- Writing notes
- Your first site
- Build a community wiki
- CLI reference
- Create a plugin
- Create a theme
- Feeds, sitemaps, and llms.txt
- Images and attachments
- Post versions from Git
- Server plugins
- Wrangler reference
- Upgrading
- @svartz/plugins/preview
- i PreviewNote
- i PreviewOptions
- f renderPreview
- @svartz/auth/server
- v ACCOUNTS_DATABASE_ENV
- i AccountStanding
- i AuthOptions
- i AuthServerData
- i AuthServerOptions
- v default
- f findProfile
- f findProfileByIdentity
- f findProfiles
- f findProfilesByHandle
- f findProfilesByIdentity
- f findStanding
- i ProviderOptions
- i PublicProfile
- i Suspension
- f userPageLocation
- i UserPageLocation
- f userPageOf
- t AnalyticsConfig
- i Artifact
- t ArtifactBag
- i AssetRecord
- t BadgeHue
- i Breadcrumb
- f buildBreadcrumbs
- f buildExplorerTree
- i ChangeEvent
- t DateSource
- i ExplorerItem
- i ExplorerNode
- f folderBreadcrumbs
- i FolderIndexEntry
- f folderLayout
- i FolderLayout
- t Graph
- i GraphTarget
- i Index
- i IndexEntry
- i IndexLink
- t LinkResolutionStrategy
- t MaybePromise
- f openFolderIds
- i ProcessedFile
- i RawLink
- i ResolvedBuildConfig
- i ResolvedConfig
- i ResolvedDiscoveryConfig
- i ResolvedFrontmatterConfig
- i ResolvedSiteConfig
- i ResolvedThemeConfig
- i ResolvedVaultDefaults
- i RouteIndex
- i SearchDocument
- f slugToHref
- i TagIndexEntry
- i TargetConfig
- f titleFromSlugSegment
- i TocEntry
- v TRANSFORM_DESCRIPTION_ID
- f transformDescription
- i UiFolderEntry
- i UiIndexEntry
- i UiTagEntry
- @svartz/config
- v CustomDomainRouteSchema
- f listVaults
- v WranglerAssetsSchema
- v WranglerBuildSchema
- v WranglerConfigFieldsSchema
- v WranglerConfigSchema
- v WranglerEnvRecordSchema
- v WranglerLimitsSchema
- v WranglerObservabilitySchema
- v WranglerPlacementSchema
- v WranglerRouteSchema
- v WranglerTriggersSchema
- v ZoneIdRouteSchema
- v ZoneNameRouteSchema
- f svartz
- i SvartzVitePluginOptions
- @svartz/plugin-history
- i CitationOptions
- f citations
- v FnSchema
- v HookInputSchema
- v HookObjectSchema
- t HookOptions
- v HookOptionsSchema
- i NormalizedSvartzPlugin
- t PermissionAction
- i PermissionDeclaration
- t PermissionSlug
- t PluginChangeHook
- t PluginChangeHookInput
- i PluginContext
- t PluginHook
- t PluginHookInput
- v PluginSchema
- i SiteVaults
- v STAGE_NAMES
- t StageName
- i SvartzPlugin
- f validatePluginShape
- v VERSIONS_FIELD
- f oxHugoFlavoredMarkdown
- i OxHugoOptions
- f presentation
- i PresentationOptions
- f roamFlavoredMarkdown
- i RoamOptions
- v TRANSFORM_GFM_ID
- v TRANSFORM_LATEX_ID
- v TRANSFORM_SYNTAX_ID
- f transformGfm
- f transformLatex
- f transformSyntax
- i CompiledNoteVersion
- f compileNoteVersion
- f extractFrontmatter
- v FILTER_UNPUBLISHED_ID
- f filterUnpublished
- f history
- t HistoryOptions
- f keepsAttachment
- f publishesNote
- @svartz/plugin-history/browser
- v HISTORY_ICON
- f mount
- f pageAt
- @svartz/plugin-annotations/browser
- v ACTIVE_HIGHLIGHT
- f attach
- i AttachOptions
- v HIGHLIGHT
- i HostNoteOptions
- f mount
- i MountOptions
- @svartz/auth/badge
- @svartz/auth/browser
- @svartz/plugin-annotations
- @svartz/plugin-annotations/server
- i AnnotationsOptions
- i AnnotationsServerOptions
- v default
- f findComment
- f findComments
- f formatReputation
- f mount
- f openSignIn
- i Reaction
- v REPUTATION_BADGE_CLASS
- f reputationBadge
- f reputationBadgeHtml
- f reputationBadgeParts
- f reputationLabel
- i SignInConfig
- i SignInProvider
- i Agreement
- t Annotation
- f postReputation
- t Recipient
- i ReportedComment
- t ReputationEvent
- i Reversal
- f reverseReputation
- i Standing
- i Threshold
- @svartz/plugin-submissions/restore
- f commitAttribution
- i Restore
- t Restored
- f restorer
- i Restorer
- @svartz/plugin-moderation
- v DEFAULT_REPORTS_PER_HOUR
- f moderation
- @svartz/plugin-moderation/server
- @svartz/plugin-submissions
- @svartz/plugin-submissions/server
- i BuildData
- i BuildData
- f changedFiles
- t Credentials
- v default
- f isVaultSubmission
- t Mode
- i RouteHolder
- f savedEdits
- i SavedEdits
- t ServerOptions
- i VaultRecords
- i BrowserOptions
- t RouteClaims
- f can
- f canEach
- i IdentityGrant
- f migrateGrants
- @svartz/plugin-moderation/browser
- v default
- i ModerationOptions
- i ModerationServerOptions
- f mount
- i Account
- v ADMIN_ROLE
- f audit
- i AuditEntry
- f auditIfChanged
- i AuditLogPage
- i AuditQuery
- i AuditRecord
- f findSuspension
- v LIFT_ACTION
- t LiftResult
- f liftSuspension
- f listSuspensions
- f readAccount
- f readAuditLog
- f readIdentity
- f readSignIn
- t SignedOutReason
- t SignIn
- f suspend
- v SUSPEND_ACTION
- i SuspendedAccount
- t SuspendResult
- i SuspensionSubject
- @svartz/plugin-submissions/render
- f renderRevision
- f wasPublic
- f submissions
- i SubmissionsOptions
- @svartz/plugins/content
- f activeContentSlot
- f containsCode
- f contentProps
- f contentSlot
- t ContentSlot
- f isUnsafeElement
- f runsCode
- f safeAttributes
- v VOID_TAGS
- @svartz/plugin-submissions/browser
- f mount
- t PermissionTarget
- i BrowserOptions
- t Destination
- i DestinationResponse
- i EditRequest
- t EditResponse
- i ErrorResponse
- i LinksResponse
- i LinkTarget
- i NewPageRequest
- i RateLimitOptions
- i SourceResponse
- i TurnstileOptions
- @svartz/auth
- f auth
- v AUTH_PLUGIN_ID
- v REASON_MAX_LENGTH
- i ReportRequest
- v TARGET_KINDS
- t TargetKind
- f annotations
- v ANNOTATIONS_PLUGIN_ID
- v DEFAULT_WRITES_PER_HOUR
- f createServer
- f createServerHandle
- i DashboardContribution
- i DashboardPanel
- i DashboardSection
- v DEV_BINDINGS
- t DevBindings
- i EnvReference
- f markdownCopyFor
- v PAGE_ROUTE_SEGMENT
- i PageContext
- t PageRenderer
- t PageResult
- i PluginPage
- v SECRET_ENV_NAME_PATTERN
- v SERVER_PLUGIN_ID_PATTERN
- v SERVER_ROUTE_SEGMENT
- i ServerContext
- i ServerHandleEvent
- t ServerHandler
- i ServerHandleRuntime
- i ServerModule
- t ServerModuleFactory
- i ServerModuleSpec
- i ServerRegistry
- i ServerRoute
- i ServerVaultSettings
- i SvartzServer
- f withMarkdownNegotiation
- f createHostIndexSource
- f createHostRegistrySource
- f createHostServerSource
- f getGeneratedHostIndexPath
- f getGeneratedHostRegistryPath
- f getGeneratedHostServerPath
- f getGeneratedHostStylesPath
- f isSvelteKit3
- f svelteKitBasePath
- f svelteKitPaths
- f assertNoNotesUnderPages
- f assertRequiredStages
- f assertServerPlugins
- f createArtifactsVirtualModuleSource
- f createServerRegistrySource
- f getGeneratedArtifactsRoot
- f getGeneratedIndexModulePath
- f getGeneratedPageModulePath
- f getGeneratedPagesRoot
- f getGeneratedRuntimeArtifactsModulePath
- f getGeneratedRuntimeServerModulePath
- f getGeneratedRuntimeThemeModulePath
- f getGeneratedSearchModulePath
- f getThemePresetPlugins
- f getVaultBuildRoot
- f resolveRuntimePlugins
- f linkedIdentities
- @svartz/ui/runtime
- v default
- i Identity
- t ProviderId
- v SvartzPluginPage
- f loadVirtualModule
- t ResolvedSvartzVirtualModuleId
- f resolveVirtualModuleId
- t SvartzVirtualModuleId
- i HostStyleManifest
- f hostStylesPlugin
- f withSvartzHost
- f compileProtectedNoteSource
- v EMIT_ARTIFACTS_ID
- f emitArtifacts
- f publishedAttachments
- f sharedAttachmentNames
- v TRANSFORM_EMBEDS_ID
- f transformEmbeds
- f noteStylesheets
- i BrowserScriptContext
- i BrowserScriptLoader
- i BrowserScriptModule
- i ContentView
- f mountBrowserScripts
- v TRANSFORM_OFM_ID
- f transformOfm
- v SiteLogo
- i Anchor
- f decodeRoutePath
- v RESOLVE_LINKS_ID
- f resolveLinks
- f wikilinkResolver
- i BrowserResource
- i CompilerContributions
- f getCompilerContributions
- c ConfigDecodeFailed
- t ConfigError
- c ConfigImportFailed
- c ConfigNotFound
- c VaultBuildRootConflict
- c VaultBuildRootResolutionFailed
- c VaultIdConflict
- c VaultIdNotFound
- c VaultMountConflict
- c VaultPathInvalid
- c VaultPluginInvalid
- @svartz/theme-minimal/runtime
- f definePageRenderer
- i FrameProps
- t ListPageName
- v PageActions
- i PageChoice
- i PageRenderer
- i ReadingStop
- t RegionName
- i RegionProps
- i RendererProps
- i ShellState
- t SiteActions
- v SiteActions
- i ThemeBuildExtension
- i ThemeChrome
- i ThemeExtension
- v EMIT_DISCOVERY_ID
- f emitDiscovery
- v AnalyticsConfigSchema
- v BuildOptionsSchema
- v DiscoveryConfigSchema
- v FrontmatterFieldsSchema
- v GiscusConfigSchema
- v IndexConfigSchema
- v LinkResolutionStrategySchema
- v PasswordGroupsSchema
- v PluginEntrySchema
- v SemverSchema
- v SiteConfigSchema
- v SvartzConfigSchema
- v SvartzDefaultsSchema
- v TargetConfigSchema
- v VaultConfigSchema
- v VaultOptionsSchema
- v VaultThemeConfigSchema
- i CommentsSettings
- f isRecord
- i LogoSettings
- f readLinks
- i SettingsLink
- f themeSettings
- i ThemeSettings
- @svartz/ui/reference/runtime
- v ReferenceTopBar
- @svartz/ui/color-mode
- v COLOR_MODE_KEY
- v COLOR_MODE_SCRIPT
- v COLOR_MODE_SCRIPT_HASH
- v COLOR_MODE_TAG
- t ColorMode
- v ColorModeToggle
- f currentColorMode
- f setColorMode
- v ReferenceFrame
- t ApiOperation
- i ApiParameter
- i ApiResponse
- i GraphqlOperation
- i RestOperation
- i SocketMessage
- i WebSocketOperation
- @svartz/theme-api-docs/runtime
- v apiRenderers
- f default
- v extensions
- v extensions
- v graphqlRenderer
- v restRenderer
- f theme
- v websocketRenderer
- f themeSourceAliases
- i PostMeta
- @svartz/theme-wiki/runtime
- f default
- v extensions
- v extensions
- f theme
- f createThemeVirtualModuleSource
- f loadThemeModule
- f resolveThemeExport
- f resolveThemeModuleIds
- f resolveThemePackageRoot
- f resolveThemeRuntimeImport
- t ThemeImport
- t ThemeModule
- t ThemeSources
- f compositionOf
- v minimalExtension
- i ThemeIdentity
- @svartz/theme-wiki
- i Infobox
- i InfoboxSection
- @svartz/theme-blog/runtime
- f default
- v extensions
- v extensions
- f theme
- @svartz/theme-docs/runtime
- f default
- v extensions
- v extensions
- f theme
- @svartz/theme-mcp-docs/runtime
- @svartz/ui/reference
- i CodeTab
- f composeThemes
- f default
- f defineRenderer
- v extensions
- v extensions
- v extensions
- f readReferencePage
- i ReferenceBadge
- v ReferenceBody
- v referenceChrome
- f referenceContext
- i ReferenceContext
- v ReferenceExamples
- i ReferenceExamplesProps
- f referenceExtension
- t ReferenceHue
- i ReferenceNavItem
- c ReferencePageError
- i ReferencePageProps
- i ReferencePageRenderer
- f referenceRenderer
- i ReferenceRenderer
- i ReferenceRouteConfig
- i ReferenceShell
- i ReferenceShellProps
- i ReferenceThemeConfig
- i ReferenceThemeIdentity
- f rendererIdOf
- v SCHEMA_RENDERER
- f theme
- f theme
- f composeThemes
- f default
- v extensions
- f choosePage
- i Composition
- f folderTheme
- c ThemeSelectionError
- f exampleFromSchema
- f readModel
- f readSchema
- f schemaLabel
- i SchemaNode
- i SchemaProperty
- v SchemaTree
- f authLabel
- v AuthSummary
- v Badge
- v BreakAfterSlashes
- v CodePanel
- v EndpointBar
- i JsonRpcError
- t McpContentBlock
- v mcpRenderers
- i McpTool
- i McpToolAnnotations
- i McpToolExample
- v mcpToolRenderer
- i McpToolResult
- f readAuth
- f readMcpTool
- f readSources
- i ReferenceAuth
- v ReferenceSection
- i ReferenceSource
- v schemaRenderer
- f sourceLabel
- v SourceLinks
- i ThemePageProps
- i ThemeRouteMatch
- f fetchPreview
- v PREVIEW_ATTRIBUTE
- f createVaultEntryView
- f createVaultView
- i VaultNoteView
- i VaultView
- v SvartzNoteContent
- v Breadcrumbs
- f count
- v FileTrie
- f folderContents
- i FolderSection
- f newestFirst
- f noteDate
- f notesTagged
- f pageCrumbs
- f tagHrefFor
- f topLevelSections
- @svartz/plugins/browser-presentation
- f groupAtBreaks
- f mount
- f slideAction
- t SlideAction
- f assetHref
- f themeTokenCss
- t ThemeTokens
- t ThemeTokenValue
- v SearchDialog
- @svartz/ui/brand
- v Callout
- f classifyLink
- v CodeBlock
- v Comments
- v DescText
- v Link
- t LinkKind
- v LinkPreviews
- v SVARTZ_MARK_SVG
- f svartzSocialImage
- @svartz/ui/syntax
- v CALLOUT_TYPES
- t CalloutType
- f createSearch
- v Embed
- f excerpt
- f formatDate
- f highlight
- f isoDate
- f parseSearchQuery
- f readingTime
- f resolveCallout
- i ResolvedCallout
- i SearchDocument
- i SearchHit
- t SearchOptions
- v svartzContentComponents
- f svartzSyntax
- i TextSegment
- v SearchBox
- v TableOfContents
- @svartz/vite/discovery
- i HostDiscoveryVault
- i HostFeedOptions
- f renderHostRss
- f renderHostSitemap
- v NoteHeader
- f definePlugin
- t PluginFactory
- @svartz/plugins/browser-analytics
- f analytics
- v ANALYTICS_ID
- f mount
- f defineTheme
- t ThemeFactory
- f validateTheme
- f hardLineBreaks
- @svartz/plugins/browser-mermaid
- f mount
- v EMIT_IMAGES_ID
- f emitImages
- f createProtectionSalt
- f deriveProtectionKey
- f openProtectedPayload
- i ProtectedEnvelope
- c ProtectionAuthenticationError
- c ProtectionFormatError
- f sealProtectedPayload
- f mergeProtectedIndex
- i ProtectedGroupPayload
- c ProtectedSession
- f resolveProtectedBridgeImports
- t AnalyticsConfig
- t DiscoveryConfig
- t FrontmatterFields
- t LinkResolutionStrategy
- t SiteConfig
- t SvartzConfig
- t SvartzDefaults
- t TargetConfig
- t VaultConfig
- t VaultOptions
- t VaultThemeConfig
- t ContentComponentOverrides
- i ContentComponentProps
- t ContentComponents
- t ContentComponentSlot
- f materializeTheme
- v DISCOVER_FILES_ID
- f discoverFiles
- t ResolvedConfig
- i ResolvedConfigSet
- t ResolvedSvartzConfig
- t ResolvedVaultConfig
- v explorerOpenIds
- v Backlinks
- v GraphPanel
- v RecentNotes
- v SEARCH_INDEX_OPTIONS
- v ALLOCATE_ROUTES_ID
- f allocateRoutesPlugin
- f executeHandleChange
- f executeStage
- v HOOK_PARALLEL_DEFAULTS
- i HookExecutionResult
- v PARSE_FRONTMATTER_ID
- f parseFrontmatter
- f runLifecycleHooks
- t RunnerPlugin
- i RunnerResult
- f runStages
- f createSvartzViteContext
- i SvartzViteContext
- f createVaultChangeEvent
- v TRANSFORM_TOC_ID
- f transformToc
- t CustomDomainRoute
- i DefaultThemeOverrideHints
- f defineConfig
- f getVault
- f loadConfig
- f matchThemeRoute
- f mergePlugins
- f normalizePathname
- f parseConfig
- c PluginAggregateError
- t PluginError
- c PluginHookError
- c PluginValidationError
- f resolveConfig
- f resolveThemeRouteToArtifactKey
- f runEffect
- i RuntimeRouteInput
- i RuntimeRouteMatch
- t TailwindThemeConfig
- v TailwindThemeConfigPropertyRecordSchema
- v TailwindThemeConfigSchema
- t ThemeError
- c ThemeValidationError
- t WranglerAssets
- t WranglerBuild
- t WranglerConfig
- t WranglerConfigFields
- t WranglerEnvRecord
- t WranglerLimits
- t WranglerObservability
- t WranglerPlacement
- t WranglerRoute
- t WranglerTriggers
- t ZoneIdRoute
- t ZoneNameRoute
- f getPackageVersion