Quartz 5 is a ground-up rearchitecture of Quartz focused on extensibility, performance, and Obsidian compatibility. If you’re coming from v4, see Migrating to Quartz 5 for the upgrade path.

New in 5.3

Upgrading from 5.2? See Upgrading from 5.2 to 5.3 for the changes you may notice.

  • Accessibility — the templates’ colours meet WCAG AA contrast, and so does text in the table of contents, footer, folder and tag listings, search button and Bases group headings. The centre column is a <main> and the sidebars are <aside> elements, page listings no longer skip heading levels, and ARIA attributes and ids are valid in the table of contents, explorer, backlinks, heading anchors and Bases views.
  • Faster pages — component styles are one stylesheet (about 20 fewer render-blocking requests per page), the graph view loads d3 and PixiJS only when it is shown and opens five times faster on large sites, and KaTeX’s stylesheet no longer blocks pages without math.
  • Back and Forward — with SPA Routing, Back and Forward return to where you were on each page, and moving between headings of the same page only scrolls.
  • Markup as in Obsidian — ObsidianFlavoredMarkdown wraps each top-level block in Obsidian’s div.el-* wrappers, renders Mermaid diagrams with Pele by default, and can fold headings and lists (foldHeadings, foldLists; on in the obsidian template). Transclusions use Obsidian’s embed markup, a missing attachment reads “could not be found”, and notes embedded with a Markdown link (![](note.md#Section)) are transcluded. Obsidian themes (ThemesCore 3.2) style all of these.
  • Unresolved links — links to pages that don’t exist, or that a filter removed (drafts, ExplicitPublish), get the broken class, as Obsidian marks unresolved links (links.disableBrokenWikilinks is on by default). See CrawlLinks.
  • Extending a configuration (experimental) — extends: default in quartz.config.yaml keeps only your changes to the default configuration; it also takes a path or an https:// URL. Several presets can be listed and stack. Plugin entries can declare before: / after: other plugins. See configuration > Extending the default configuration.
  • Slugs without accents — configuration.slugs.stripDiacritics publishes české/čeština.md at /ceske/cestina and Łódź.md at /lodz, so URLs in Latin-script languages need no percent-encoding; other scripts are left as written. See configuration > General Configuration.
  • Layout conditions — is-index (home page), is-folder-index, and not-<condition> for any condition (not-has-tags). See layout > Conditional Rendering.
  • Explorer 1.2 — sort from YAML with rules applied in sequence (sort: [folder, { by: date, direction: desc }]), several explorers on a page (rootFolder), and order in YAML. See Explorer.
  • Plugin options — GitHubFlavoredMarkdown: singleTilde and replacements (for example Quartz 4’s arrows); ObsidianFlavoredMarkdown: math; CanvasPage: the wheel and trackpad pan the canvas as in Obsidian, and text nodes render with the site’s Markdown plugins (Mermaid, callouts, math).
  • Link previews and search engines — each page has a canonical link, and og:url, og:type and the article times are set as Open Graph readers expect.
  • Content index — contentIndex.json entries carry the page’s date, for client-side components such as the explorer.
  • Releases — release tags are verified on GitHub, and each release publishes a versioned Docker image.

New in 5.2

Upgrading from 5.1? See Upgrading from 5.1 to 5.2.

  • Obsidian themes — ThemesCore 3.1 converts any Obsidian community theme at build time: name it as Obsidian lists it (Minimal, AnuPpuccin), or give a GitHub repository, a URL or a local theme.css. Style Settings exports and CSS snippets apply as in Obsidian.
  • Fonts built in — font loading is part of Quartz as configuration.fonts (formerly the Fonts plugin), including the interface font and per-heading fonts. See configuration > Fonts.
  • quartz build --config <path> — read the configuration from another file, so it can live with your content and one Quartz install can build several sites.
  • Bases closer to Obsidian (BasesPage 1.5) — custom summaries, html(), image(), icon(), regular expressions and file.backlinks in formulas, kanban views, groupOrder, grouped lists and cards, and columns labelled with the property’s name. Bases inside a transcluded note render, and links in bases follow configuration.links.
  • Transclusions — headings and footnotes inside a transclusion get ids unique on the page, and a heading transclusion holds only the footnotes it references.
  • Permalinks on large sites — notes with a permalink are published at it on sites of any size.
  • Plugins can be async and declare renderTransforms, so encrypted notes show their bases and transclusions once unlocked (EncryptedPages).

New in 5.1

Upgrading from 5.0? See Upgrading from 5.0 to 5.1 for the steps and the changes you may notice.

  • Prefetching — pages are fetched before their links are followed, so they open at once (configuration.prefetch, default viewport). Works with and without SPA routing.
  • Built-in processing — frontmatter, link resolution, drafts and the content index are built into Quartz (configuration.frontmatter, links, drafts, contentIndex) instead of plugins that broke the site when disabled.
  • publishAssets: referenced — only copy the images and files that published pages use.
  • Permalinks as addresses — permalink: page publishes a note at /page, as in Obsidian Publish.
  • Sidebar modes — `layout.sidebars` (fit, scroll, static) and a new docs template (npx quartz create --template docs).
  • Markdown as in Obsidian — ObsidianFlavoredMarkdown 2.0 parses with Obsidian’s own parser: single line breaks render as <br>, inline footnotes (text^[note]), image sizes on Markdown images (![alt|300](image.png)), themed Mermaid diagrams. GitHubFlavoredMarkdown now runs first, and headings get the same ids as on GitHub.
  • Bases as in Obsidian 1.15 — BasesPage 1.2: durations, nested tags, file.name/file.fullname, Obsidian’s card layout. Pages rendered from .base, .canvas and Excalidraw files follow your publish filters.
  • npx quartz info — prints your Quartz version, environment and plugins for bug reports.
  • npx quartz plugin doctor — checks your config, lockfile and installed plugins, and --fix migrates entries of plugins that are now built in. npx quartz upgrade shows the release notes and runs these checks.
  • Clearer errors — plugin errors name the plugin, what it was doing and the file; problems in content say so; broken or incompatible plugins fail CI builds. --verbose prints a layout report.
  • Plugin compatibility — a plugin’s required Quartz version is checked (a warning locally, an error in CI), and deprecated plugins are flagged.
  • Fixes — Windows (npm plugins in .quartz/plugins/index.ts, local plugin paths, aliases, git dates), no sideways scrolling on phones, SPA navigation across redirects, and JavaScript frontmatter (---js) is no longer executed.

Plugin Ecosystem

The biggest change in v5 is the move to a community plugin ecosystem. Plugins are now standalone packages maintained in the quartz-community GitHub organization. The default plugins are npm packages (@quartz-community/explorer) that ship with Quartz; others can be added from npm, git or a local folder:

npx quartz plugin add github:quartz-community/explorer

This means:

  • Independent versioning: Plugins can be updated without upgrading Quartz itself
  • Community contributions: Anyone can publish a Quartz plugin
  • Smaller core: Quartz core is leaner; features live in plugins
  • Plugin registry: Discover plugins via npx quartz tui or the plugin registry

Over 40 official plugins ship with Quartz, covering everything from search and graph view to encrypted pages and canvas rendering.

YAML Configuration

Configuration moved from TypeScript (quartz.config.ts) to YAML (quartz.config.yaml):

quartz.config.yaml
configuration:
  pageTitle: My Digital Garden
  enableSPA: true
  enablePopovers: true
  locale: en-US
  baseUrl: mysite.github.io
  theme:
    typography:
      header: Schibsted Grotesk
      body: Source Sans Pro
      code: IBM Plex Mono
plugins:
  - source: "@quartz-community/github-flavored-markdown"
    enabled: true
    order: 30
  - source: "@quartz-community/obsidian-flavored-markdown"
    enabled: true
    order: 40
  - source: "@quartz-community/explorer"
    enabled: true
    layout:
      position: left
      priority: 50

Benefits:

  • No TypeScript knowledge required for basic customization
  • JSON Schema validation — editors with YAML support show errors inline
  • Layout defined per-plugin — each plugin declares its own position and priority
  • Templates — npx quartz create offers preconfigured templates (default, obsidian, ttrpg, blog, docs)

For advanced options that need JavaScript (callbacks, custom components), the quartz.ts override system provides full programmatic control.

Improved Obsidian Compatibility

Quartz 5 aims for full compatibility with Obsidian’s core features:

  • Wikilinks — all variations including aliases, headings, block references, and pipe escaping in tables
  • Callouts — all built-in types, collapsible variants, and nested callouts
  • Highlights — ==highlighted text== syntax
  • Comments — %%hidden comments%% (inline and block)
  • Tags — #tag and #nested/tag with tag pages
  • Custom task characters — [?], [!], [>], etc. preserved as data-task attributes
  • Mermaid diagrams — Mermaid.js default; Pele via diagramRenderer: pele
  • YouTube and Tweet embeds — via image syntax
  • Block references — ^block-id with broad character support
  • Video/audio embeds — full format support (mp4, webm, ogv, mov, mkv, avi, flac, aac, etc.)
  • Canvas files — rendered as interactive, pannable pages via the canvas-page plugin
  • Obsidian URI links — marked with CSS class for custom styling
  • Footnotes — including inline footnotes (text^[note]), parsed by the Obsidian Flavored Markdown plugin

See Obsidian compatibility for the full list.

Page Type System

Quartz 5 introduces page types — plugins that define how different kinds of pages are rendered:

  • Content pages — regular markdown notes
  • Folder pages — directory listing pages
  • Tag pages — pages listing notes with a given tag
  • Canvas pages — interactive JSON Canvas renderings
  • Bases pages — database-style views of your content

Each page type can use a different page frame for fundamentally different HTML structures (three-column, full-width, minimal, etc.).

Layout System

The layout system is now declarative. Plugins declare their position (left, right, beforeBody, afterBody) and priority in the config:

plugins:
  - source: "@quartz-community/explorer"
    layout:
      position: left
      priority: 50
  - source: "@quartz-community/graph"
    layout:
      position: right
      priority: 10

Additional features:

  • Groups — combine components into flex rows/columns (e.g., toolbar with search + darkmode toggle)
  • Conditional rendering — show/hide components based on page properties (condition: not-index, condition: has-tags)
  • Display modifiers — display: mobile-only or display: desktop-only
  • Per-page-type overrides — different layouts for content, folder, tag, and 404 pages

Performance

  • Parallel processing — markdown parsing uses a worker pool across all CPU cores
  • Incremental rebuilds — watch mode only re-processes changed files
  • Pre-built plugins — community plugins ship compiled dist/ directories, skipping build-from-source on install
  • SPA routing — client-side navigation with micromorph for instant page transitions
  • CDN-cached fonts — Google Fonts with aggressive caching, or fully self-hosted with fontOrigin: local

CLI Improvements

The CLI is simpler and more helpful:

CommandDescription
npx quartz createInteractive setup wizard with templates
npx quartz build --serveBuild and serve with hot reload
npx quartz syncCommit and push to GitHub
npx quartz upgradePull latest Quartz updates
npx quartz plugin installInstall plugins from lockfile
npx quartz plugin add <source>Add a new plugin
npx quartz plugin listList installed plugins
npx quartz plugin pruneRemove unused plugins
npx quartz plugin doctorDiagnose plugin problems
npx quartz infoPrint version and plugins for bug reports

Other improvements:

  • Node.js version check — clear error message if running on Node < 22
  • Port conflict handling — helpful message when port is already in use
  • Plugin lockfile — quartz.lock.json pins plugin versions for reproducible builds
  • Concurrency control — --concurrency flag for memory-constrained environments

Internationalization

Quartz 5 supports multiple locales out of the box. Set locale: ja-JP (or any supported locale) in your config to translate all UI strings — search placeholders, “table of contents”, date formatting, and more.

New Plugins

Plugins new to v5 (not available in v4):

Showing 11 of 11 entries
PluginRepositoryDescription
BasesPage[quartz-community/bases-page](https://github.com/quartz-community/bases-page)Renders Obsidian Bases files as database-style views.
CanvasPage[quartz-community/canvas-page](https://github.com/quartz-community/canvas-page)Renders JSON Canvas files as interactive, pannable pages.
EncryptedPages[quartz-community/encrypted-pages](https://github.com/quartz-community/encrypted-pages)Password-protected encrypted pages with shadow content index.
NoteProperties[quartz-community/note-properties](https://github.com/quartz-community/note-properties)Displays frontmatter properties in a collapsible panel.
ObsidianPluginExcalidraw[quartz-community/obsidian-plugin-excalidraw](https://github.com/quartz-community/obsidian-plugin-excalidraw)Renders Obsidian Excalidraw drawings as interactive pages.
ObsidianPluginTtrpgToolsMaps[quartz-community/obsidian-plugin-ttrpg-tools-maps](https://github.com/quartz-community/obsidian-plugin-ttrpg-tools-maps)Renders maps made with the Obsidian plugin TTRPG Tools - Maps (zoom-map) as interactive, read-only maps.
ReaderMode[quartz-community/reader-mode](https://github.com/quartz-community/reader-mode)Distraction-free reading mode toggle.
Spacer[quartz-community/spacer](https://github.com/quartz-community/spacer)Flexible spacer for layout groups.
StackedPages[quartz-community/stacked-pages](https://github.com/quartz-community/stacked-pages)Binder-style tabs of the pages you visited, beside the page.
ThemesCore[quartz-themes/core](https://github.com/quartz-themes/core)Use any Obsidian community theme, converted at build time.
UnlistedPages[quartz-community/unlisted-pages](https://github.com/quartz-community/unlisted-pages)Hides pages from navigation and indexes while still publishing them.

For Plugin Developers

If you built plugins for v4, the development model has changed significantly:

  • Plugins are standalone npm packages with their own package.json, tsconfig.json, and build system
  • The factory function pattern (inspired by Astro integrations) replaces class-based plugins
  • @quartz-community/types provides full type safety without depending on the Quartz core
  • @quartz-community/utils provides shared path, DOM, and language utilities
  • @quartz-community/runtime provides browser runtime utilities
  • Plugins can ship components, frames, stylesheets, and client scripts
  • A plugin template is available at quartz-community/plugin-template

See making plugins for the full guide.