saberzero1
2a5e3ae574
chore: package-lock.json
2026-07-24 21:43:27 +02:00
saberzero1
94fcabb0b4
feat: add @quartz-themes/core to config and templates
...
Add disabled theme entry to default config and default/blog templates.
Migrate obsidian and ttrpg templates from git-based quartz-themes source
to npm @quartz-themes/core package.
2026-07-24 20:33:05 +02:00
saberzero1
26a5a86d77
feat: add @quartz-themes/core as a dependency
...
Add @quartz-themes/core to dependencies and @quartz-themes/ to shared
scopes so theme packages are treated as externals by the plugin bundler.
2026-07-24 20:32:52 +02:00
saberzero1
326bc49b96
chore: update lockfile for crawl-links@0.1.1, bases-page@0.2.2
2026-07-24 02:21:40 +02:00
saberzero1
3c8726834a
chore: update lockfile for utils@0.1.1, ofm@0.1.2, bases-page@0.2.1
2026-07-24 01:16:03 +02:00
saberzero1
a791a4f12d
fix: disable font ligatures on code blocks ( #2428 )
2026-07-24 00:43:31 +02:00
Emile Bangma
581f6707da
fix: decouple Head.tsx from og-image plugin import ( #2495 )
...
Remove unconditional import of CustomOgImagesEmitterName from
.quartz/plugins in Head.tsx. This caused builds to fail when the
og-image plugin was not listed in quartz.config.yaml, violating the
plugin system's opt-in contract.
The fix inlines the emitter name string constant at the usage site.
Also convert the ContentDetails import in fileTrie.ts to
`import type` since it is only used in a type position.
2026-07-23 15:30:37 +02:00
saberzero1
555b2ba838
docs: add npm plugin specifier migration guide
2026-07-23 09:38:52 +02:00
saberzero1
3d99dca87d
style: fix whitespace in docs/hosting.md
2026-07-23 09:30:25 +02:00
saberzero1
966307e0d0
style: format docs/hosting.md and loader/index.ts
2026-07-23 09:26:51 +02:00
saberzero1
ebdbb3da21
chore: keep legacy-peer-deps (required for 44 plugins with varying peer ranges)
...
Multiple plugins declare incompatible peer dep ranges for shared packages
(sharp, @myriaddreamin/rehype-typst, etc). These are optional peers that
work correctly at runtime. legacy-peer-deps is the appropriate setting
for a host application consuming many plugins.
2026-07-23 08:54:50 +02:00
saberzero1
49785911c9
chore: pin plugin dependencies to semver ranges
2026-07-23 08:34:31 +02:00
saberzero1
e8ccb7991c
chore: updated package-lock.json
2026-07-23 02:23:38 +02:00
saberzero1
11b9960663
feat: migrate to npm specifiers with type-safe plugin index
...
- Default config and all 4 templates use @quartz-community/* npm specifiers
- config-loader: npm packages imported directly (not via .quartz/plugins/ paths)
- gitLoader: regeneratePluginIndex cross-references .d.ts with .js to correctly
classify type-only exports, preventing runtime 'does not provide export' errors
- All 44 default plugins added as dependencies
- Locally tested: 111 docs files → 374 output files, zero errors
2026-07-23 02:19:17 +02:00
saberzero1
4b7ecb96f0
revert: restore github: specifiers in default config and templates
...
The npm specifier path requires additional work in the esbuild
transpilation pipeline to mark npm imports as external. Reverting
to github: specifiers to restore the docs site immediately.
The npm loader code (parsePluginSource, config-loader, CLI) remains
in place for future use. Only the default config/templates are reverted.
2026-07-23 02:06:45 +02:00
saberzero1
a71cbfbeed
fix: use npm install in Dockerfile and copy .npmrc for peer dep config
2026-07-23 02:03:47 +02:00
saberzero1
b6939da24d
fix: use npm install in all CI workflows for lockfile compatibility
2026-07-23 02:01:58 +02:00
saberzero1
6fdeaef8c2
fix: use npm install instead of npm ci in deploy
...
The lockfile was generated on linux x86_64 but CI needs platform-
specific optional deps for all architectures. npm install resolves
them correctly while npm ci requires exact lockfile match.
2026-07-23 01:59:52 +02:00
saberzero1
eefff261a6
chore: retrigger deploy after lockfile fix
2026-07-23 01:57:51 +02:00
saberzero1
7ed01ddd43
fix: add legacy-peer-deps for plugin peer dependency conflicts
...
og-image requires sharp as a peer dep which conflicts with the
version installed by quartz core. legacy-peer-deps allows both
to coexist until the peer dep ranges are aligned.
2026-07-23 01:47:39 +02:00
saberzero1
fe1f1d30aa
fix: add npm plugin dependencies and fix fonts package name
...
- Added all 44 default plugins as dependencies so npm ci installs them
- Fixed @quartz-community/fonts → @quartz-community/quartz-fonts (actual npm name)
- Regenerated package-lock.json with plugin dependencies
2026-07-23 01:46:28 +02:00
saberzero1
57094a8fee
fix: make quartz.lock.json optional in Dockerfile
...
With npm specifiers, quartz.lock.json may not exist.
The glob pattern makes the COPY conditional.
2026-07-23 01:34:12 +02:00
saberzero1
97eea3ee34
feat: migrate default config and templates to npm specifiers
...
- quartz.config.default.yaml: all 44 plugins use @quartz-community/* npm specifiers
- cli/templates/*.yaml: all 4 templates updated (default, blog, obsidian, ttrpg)
- bootstrap-cli.mjs: updated help text
- package.json: devDeps use npm semver ranges instead of github: specifiers
- gitLoader.ts: regeneratePluginIndex scans npm packages from node_modules
- install-plugins.ts: generates plugin index for npm packages
- Removed quartz.lock.json (only relevant for git-installed plugins)
2026-07-23 01:29:25 +02:00
saberzero1
ab8e77392c
revert: do not gitignore quartz.config.yaml (user config file)
2026-07-23 01:21:07 +02:00
saberzero1
f45b9d42bd
chore: gitignore quartz.config.yaml (user-generated)
2026-07-23 01:19:37 +02:00
saberzero1
af583c167a
chore: remove dev-mode config
2026-07-23 01:19:29 +02:00
saberzero1
de21613607
style: format loader files
2026-07-23 01:19:21 +02:00
saberzero1
69571de66e
chore: remove dev-mode local config (should not be committed)
2026-07-23 01:18:03 +02:00
saberzero1
5b34917e98
feat: support npm scoped package specifiers for plugins
...
Plugins can now be referenced as "@quartz-community/<name>" in
quartz.config.yaml and via 'quartz plugin add'. The npm path skips
git installation and resolves from node_modules.
Changes:
- gitLoader.ts: detect @scope/name as npm package in parsePluginSource()
- config-loader.ts: skip git install for npm packages, read manifests
from node_modules via createRequire
- install-plugins.ts: filter npm packages from prebuild, fallback to
YAML config parsing to avoid loading full quartz.ts
- plugin-data.js: npm detection in CLI parseGitSource()
- plugin-git-handlers.js: npm install path in handlePluginAdd()
- package.json: add missing hast-util-from-html dependency
2026-07-23 01:17:53 +02:00
saberzero1
92a4a48430
fix: callouts overlapping explorer
2026-06-11 17:55:16 +02:00
saberzero1
9e74db69a9
docs: clarified and extended installation guide
2026-06-11 15:07:26 +02:00
saberzero1
25d89ff94a
chore: updated plugins
2026-06-11 14:54:19 +02:00
saberzero1
decbd0a969
chore: updated plugins
2026-06-11 12:10:38 +02:00
saberzero1
87083faeb6
docs: updated fonts configuration
2026-06-11 10:46:55 +02:00
saberzero1
58593c7c72
docs: added documentation for fonts
2026-06-10 23:17:32 +02:00
saberzero1
8a79f59abb
chore: configure fonts plugin in templates
2026-06-10 23:17:19 +02:00
saberzero1
2000295346
feat: added fonts plugin
2026-06-10 23:17:05 +02:00
saberzero1
c5bbc92b74
docs: updated migration guide and alias-redirect options
2026-06-09 20:01:46 +02:00
saberzero1
b2f1dad514
fix(alias-redirect): emit original filepath casing as redirect
2026-06-09 20:01:25 +02:00
saberzero1
81db804f54
fix(themes): callouts and layout issues
2026-06-09 02:24:05 +02:00
saberzero1
9737bce709
fix(slugs): remove obsidian-importer known invalid file characters from slugs
2026-06-03 15:34:54 +02:00
saberzero1
951dfee599
fix(i18n): explorer/graph missing mapping
2026-06-03 15:26:32 +02:00
saberzero1
afe98e6b1a
fix: excalidraw panning on mobile and .jxl support
2026-05-27 20:56:47 +02:00
saberzero1
f15aa0032a
fix: allow updating when repository is generated from template
2026-05-27 20:43:56 +02:00
saberzero1
9e4d4518bd
fix: anchor links without alias follow obsidian reading mode
2026-05-27 00:33:38 +02:00
saberzero1
3138a88bb1
chore: updated layouts to include table of contents
2026-05-27 00:18:06 +02:00
saberzero1
db5aca2b8d
fix: apply default position when installing plugins
2026-05-27 00:17:45 +02:00
saberzero1
dd1b36c148
fix: recent notes default date type
2026-05-26 22:26:21 +02:00
saberzero1
4579e49465
test: regression tests for junctions
2026-05-26 21:15:36 +02:00
saberzero1
882d3b3f50
fix: fall back to junctions on windows
2026-05-26 21:15:20 +02:00
saberzero1
667d487a0f
fix: re-render graph on mode change
2026-05-26 19:47:54 +02:00
saberzero1
36b3542371
fix: block link casing
2026-05-26 18:16:22 +02:00
saberzero1
b24f2a5e7b
test: add regression tests for baseurl in serve mode
2026-05-26 12:56:32 +02:00
saberzero1
ad685b8d4e
fix: use correct baseurl in serve mode
2026-05-26 12:56:18 +02:00
saberzero1
2862ec7303
fix: anchor heading links
2026-05-26 01:57:26 +02:00
saberzero1
9ac5d6e7e6
chore: update all plugins to latest version
2026-05-25 19:41:33 +02:00
saberzero1
399cdd83d2
fix: display the quartz version in the footer
2026-05-25 17:29:47 +02:00
saberzero1
336b3ea131
fix: excalidraw quartz-themes interactions
2026-05-25 17:11:09 +02:00
saberzero1
24975c6975
chore: updated plugins
2026-05-25 04:16:27 +02:00
saberzero1
4a06ee6b44
docs: replaced excalidraw note in plugin table
2026-05-25 03:16:06 +02:00
saberzero1
cbe101dc12
chore: updated configuration templates
2026-05-25 03:15:41 +02:00
saberzero1
29dea35776
chore: updated plugins
2026-05-25 03:15:30 +02:00
saberzero1
257f004bbf
fix(bases): properly handle mixed-case tags
2026-05-24 21:28:07 +02:00
saberzero1
51ba21804d
docs: cleanup
2026-05-24 21:12:20 +02:00
saberzero1
2dc58a33df
fix: bases table view grouping sorting
2026-05-24 21:09:41 +02:00
saberzero1
22fc3b5cef
chore: formatting
2026-05-24 21:08:13 +02:00
saberzero1
d6414218de
docs: convert repository frontmatter values to markdown links
2026-05-24 20:05:18 +02:00
saberzero1
c837425148
docs: inline bases into markdown
2026-05-24 19:56:20 +02:00
saberzero1
cf28741977
docs: add description frontmatter to all plugin docs for base views
2026-05-24 19:48:32 +02:00
saberzero1
cce45e0718
docs: add repository, enabled, required frontmatter to all plugin docs
...
Added repository, enabled, and required fields to the frontmatter of
all 44 plugin documentation files. Updated Plugins.base to include
these columns, matching the information previously in the manual tables.
Also filtered out internal plugins (Assets, Static, ComponentResources,
NotFoundPage) from the base query.
2026-05-24 19:46:42 +02:00
saberzero1
38395a1bac
docs: replace manual plugin tables with inline .base files
...
Plugin listings in plugins/index.md and getting-started/whats-new.md
are now generated from .base files that query plugin docs by their tags.
This prevents the tables from going out of sync when plugins are added
or updated. Added new-in-v5 frontmatter property to 8 plugin docs for
the what's-new page filter.
2026-05-24 19:43:00 +02:00
saberzero1
228218ece8
fix: border-radius in board view
2026-05-24 19:24:25 +02:00
saberzero1
27639d5ab5
docs: formatting
2026-05-24 18:50:55 +02:00
saberzero1
97472ebf88
chore: point v5 to quartz.jzhao.xyz
2026-05-24 18:50:44 +02:00
saberzero1
9f7caa96f4
chore: updated og-image
2026-05-24 18:50:02 +02:00
saberzero1
ee683e0e86
docs: add What's New in Quartz 5 page for release
...
Covers the plugin ecosystem, YAML configuration, Obsidian compatibility,
page type system, layout system, performance, CLI, i18n, new plugins,
and plugin development changes. Also updates home page clone command
for v5 as default branch.
2026-05-24 18:37:33 +02:00
saberzero1
ed0f27c05f
fix: move ExternalPlugin overrides before loadQuartzConfig in quartz.ts docs
...
loadQuartzConfig() internally calls loadQuartzLayout() to build the
PageTypeDispatcher, which instantiates components. Plugin option overrides
must be registered before this happens. Updated quartz.ts and all doc
snippets that show the ExternalPlugin override pattern to place calls
before loadQuartzConfig(). Also updated OxHugo and Roam docs from stale
v4 plugins pattern to v5 override pattern.
2026-05-24 18:33:58 +02:00
saberzero1
c4b0145e59
docs: formatting
2026-05-24 17:39:58 +02:00
saberzero1
629efafafe
chore: updated plugins
2026-05-24 17:37:40 +02:00
saberzero1
eb53936ec7
chore: update lockfile with search and graph plugin fixes
2026-05-24 17:23:29 +02:00
saberzero1
2455c87167
fix: show help on invalid CLI commands and debounce watch rebuilds
...
- Change .showHelpOnFail(false) to true for better new-user UX
- Add 100ms debounce to watch mode rebuilds to batch rapid file changes
2026-05-24 17:23:11 +02:00
saberzero1
455985f7ef
docs: add Node.js requirement, footnotes, and Obsidian plugin support table
...
- Add Node.js 22 prerequisite callout to installation guide
- Document footnote support via GFM plugin
- Add Obsidian community plugin support table (Dataview, Excalidraw, Leaflet)
2026-05-24 17:23:04 +02:00
saberzero1
601f23f132
chore: update quartz.lock.json with latest plugin commits
2026-05-24 17:15:17 +02:00
saberzero1
6b3c72d11e
docs: pre-release documentation fixes
...
- Remove non-existent 'move' strategy from CLI docs
- Update installation guide for v5 release (remove beta note, fix clone cmd)
- Add fontOrigin configuration documentation
- Document layout condition property with available presets
- Add optional title font to typography example
2026-05-24 17:10:10 +02:00
saberzero1
0d9b356046
fix: resolve client-side navigation and popover issues
...
- Fix popover crash on missing Content-Type header (null check)
- Fix SPA loading bar corrupting page via micromorph interference
(remove bar before morph, use ephemeral DOM elements instead of
persistent reference)
- Add stopLoading() cleanup in navigation finally block
2026-05-24 17:10:03 +02:00
saberzero1
7f00400ad2
fix: improve CLI error handling and user guidance
...
- Add Node.js >= 22 runtime version check before any imports
- Add EADDRINUSE error handlers for HTTP and WebSocket servers
- Fix misleading 'Couldn't parse Quartz configuration' error message
- Add actionable guidance to sync/upgrade/push failure messages
- Add --concurrency validation (must be >= 1)
2026-05-24 17:09:56 +02:00
saberzero1
caa55037f7
fix: harden core build system against silent failures
...
- Wrap rebuild() in try/finally to guarantee mutex release (prevents deadlock)
- Surface rebuild errors via .catch() instead of discarding with void
- Add null checks for vfile.data.relativePath (prevents crash on virtual files)
- Add try-finally for worker pool cleanup in parse.ts (prevents thread leaks)
- Remove process.exit(1) from parse error handler (let errors propagate)
- Add per-emitter error handling in emit phase with degraded-build warning
- Replace unsafe Map.get()! assertions with null-checked access in config-loader
2026-05-24 17:09:46 +02:00
saberzero1
17aa8ab233
chore: updated plugins
2026-05-24 15:29:17 +02:00
saberzero1
bdc3347c75
chore: updated plugins
2026-05-24 01:11:50 +02:00
saberzero1
dfde22acfd
feat: emit plugin scripts individually instead of bundling into postscript
2026-05-23 19:51:55 +02:00
saberzero1
b1e5d3a7cc
test: add regression tests for transclusion changes
2026-05-23 01:29:24 +02:00
saberzero1
4d715774e1
fix: properly handle multiple transclusions
2026-05-23 01:29:10 +02:00
saberzero1
097f3040fb
chore: updated plugins
2026-05-23 01:18:34 +02:00
saberzero1
0593c8cd6a
fix: allow arbitrary transclusion
2026-05-23 01:18:30 +02:00
saberzero1
5b6588189f
chore: updated plugins
2026-05-23 00:42:27 +02:00
saberzero1
c206aa3c02
docs: caching documentation
2026-05-22 23:12:45 +02:00
saberzero1
2a02240802
feat: preload static resources
2026-05-22 23:12:37 +02:00
saberzero1
cfcd9c18ac
feat: split and hash inlined assets
2026-05-22 23:03:39 +02:00
saberzero1
cfba672f51
feat: split and hash static css
2026-05-22 22:42:06 +02:00
saberzero1
2e34c64c63
chore: updated plugins
2026-05-22 20:11:20 +02:00