Commit Graph

1896 Commits

Author SHA1 Message Date
saberzero1 8a98878e5c fix(ofm): render svg as objects instead of imgs 2026-03-26 00:38:29 +01:00
saberzero1 328ef01c67 chore: updated plugins 2026-03-25 22:19:38 +01:00
saberzero1 2d579c0f9e feat(cli): added flags for plugin name and subdir 2026-03-25 22:18:51 +01:00
saberzero1 f881d5e332 fix(schema): added missing position option to plugin schema 2026-03-23 12:28:28 +01:00
saberzero1 6d08b5f070 fix(bases): extract Object values before toStringValue 2026-03-22 22:07:26 +01:00
saberzero1 96bf848aa9 fix(paths): implement support for partial part resolution 2026-03-22 12:48:08 +01:00
saberzero1 31d5c025b2 deps: update @quartz-community/utils to latest 2026-03-22 12:05:17 +01:00
saberzero1 434c166ed0 chore: updated plugins 2026-03-20 21:24:30 +01:00
saberzero1 c1de25ebe8 chore: updated plugins 2026-03-20 21:14:44 +01:00
saberzero1 619a3b7f0f docs: updated date documentation 2026-03-20 21:14:30 +01:00
saberzero1 b61e023759 chore: updated templates 2026-03-20 21:14:15 +01:00
saberzero1 d9bfbf876f refactor: move defaultDateType to CreatedModifiedDate plugin 2026-03-20 21:13:45 +01:00
saberzero1 28414da76e chore: updated plugins 2026-03-20 13:52:35 +01:00
saberzero1 c7b527ae9f docs: aligned with recent changes 2026-03-20 13:52:19 +01:00
saberzero1 d413917f8f fix(bases): use the link utils from the utils instead 2026-03-20 12:05:41 +01:00
saberzero1 f7ead71ee5 chore: updated plugins 2026-03-19 22:26:29 +01:00
saberzero1 67c5433fe6 chore: disable stacked pages in documentation 2026-03-19 22:22:24 +01:00
saberzero1 4c854f845c chore: updated plugins 2026-03-19 22:18:49 +01:00
saberzero1 627fa78f19 docs: updated Bases documentation 2026-03-19 22:18:42 +01:00
saberzero1 b4e07a560e chore: updated plugins 2026-03-19 17:03:59 +01:00
saberzero1 de4826a83f chore: updated plugins 2026-03-19 11:04:37 +01:00
saberzero1 49a1ddfd84 chore: updated plugins 2026-03-19 00:11:23 +01:00
saberzero1 cd17a74eeb chore: updated plugins 2026-03-18 19:24:59 +01:00
saberzero1 cc6cb46114 chore: updated plugins 2026-03-18 18:37:59 +01:00
saberzero1 954306ab21 chore: updated plugins 2026-03-18 17:56:00 +01:00
saberzero1 da6c498dc9 docs: added new configuration options for page types 2026-03-18 17:52:40 +01:00
saberzero1 db11f757c2 fix(pagetypes): prevent duplicate content 2026-03-18 17:45:56 +01:00
saberzero1 c65fb652d2 chore: updated plugins 2026-03-18 13:02:09 +01:00
saberzero1 7cd15f5aba chore: updated plugins 2026-03-18 12:39:32 +01:00
saberzero1 1b999a792f fix: expose base path via data-basepath attribute on body
Compute the base path from cfg.baseUrl and set it as a data attribute on
<body> so client-side scripts can resolve links correctly when Quartz is
deployed to a subdirectory (e.g., user.github.io/repository).
2026-03-18 11:51:06 +01:00
saberzero1 75aef3b0a9 chore: updated plugins 2026-03-18 02:40:01 +01:00
saberzero1 f2c2a31292 fix(cli): resolve subdir plugins during build installs 2026-03-18 02:39:45 +01:00
saberzero1 166b9c87d8 fix(cli): properly resolve subdir plugin installs 2026-03-18 01:56:48 +01:00
saberzero1 a7dca22667 chore: updated plugins 2026-03-18 01:18:21 +01:00
saberzero1 bd32a98749 docs: added documentation on plugin install options 2026-03-18 01:18:07 +01:00
saberzero1 219bed15bf chore: updated plugin schema definition 2026-03-18 01:17:10 +01:00
saberzero1 7b85aa3464 fix(cli): extended options for plugin sources 2026-03-18 01:12:38 +01:00
saberzero1 b2ae694b9a chore: updated plugins 2026-03-17 22:51:25 +01:00
saberzero1 51b05e79e2 feat: centralize native dep installation across plugins
Replace per-plugin npm install with a single aggregated npm install
in the quartz root. Plugins declaring requiresInstall in their quartz
manifest now have their peerDependencies collected and installed
together, letting npm resolve compatible versions across plugins.
2026-03-17 22:32:47 +01:00
saberzero1 13a25cbfaf chore: remove 24 plugin-only dependencies from package.json
Remove dependencies that are only used by plugins and already bundled
into their dist files via devDependencies/tsup. This reduces the
install footprint by ~136 packages.

Removed: flexsearch, github-slugger (kept - needed by @quartz-community/utils),
gray-matter, hast-util-to-html, hast-util-to-string, is-absolute-url,
js-yaml, mdast-util-find-and-replace, mdast-util-to-hast,
mdast-util-to-string, reading-time, rehype-autolink-headings,
rehype-citation, rehype-katex, rehype-mathjax, rehype-pretty-code,
rehype-raw, rehype-slug, remark-breaks, remark-frontmatter,
remark-gfm, remark-math, remark-smartypants, satori, toml,
@types/js-yaml.

Kept native-binary deps: sharp, @napi-rs/simple-git,
@myriaddreamin/rehype-typst (cannot be bundled by plugins).
2026-03-17 21:50:02 +01:00
saberzero1 94cb313ce6 chore: updated plugins 2026-03-17 21:37:02 +01:00
saberzero1 02488d07b2 fix: suppress harmless esbuild warnings from bundled plugin deps
Add logOverride to the main esbuild build context to silence three
warning types that originate from upstream third-party code bundled
inside plugin dist files:
- direct-eval: gray-matter's JS frontmatter engine in note-properties
- equals-negative-zero: webidl-conversions in citations
- duplicate-object-key: BibTeX month mapping in citations
2026-03-17 21:26:44 +01:00
saberzero1 d792d8ebf9 feat: add runtime plugin externals validation and native dep install
- validatePluginExternals() scans plugin dist/ for unbundled imports
  and warns when non-allowlisted externals are detected
- installPluginDepsIfNeeded() runs npm install for plugins with
  quartz.requiresInstall flag (for native deps like sharp)
- Added requiresInstall field to PluginManifest type
2026-03-17 19:46:42 +01:00
saberzero1 a932000421 fix: bump @quartz-community/utils to resolve ./jsx export error 2026-03-17 19:46:35 +01:00
steven-smith-IT 56a801345a fix(cli): use 'gray' instead of 'grey' in styleText calls (#2340) 2026-03-17 15:23:32 +01:00
saberzero1 f7f33444ca chore: linting 2026-03-16 22:55:39 +01:00
saberzero1 7e28a970e7 fix(cli): quote paths in git commands for windows users 2026-03-16 22:42:02 +01:00
saberzero1 49caf725dd chore: updated plugins 2026-03-16 19:34:18 +01:00
saberzero1 24634934d1 docs: added documentation on init() for component plugins 2026-03-16 14:31:16 +01:00
saberzero1 4bb075cc64 fix(plugin): forward component options from plugin bases views 2026-03-16 14:20:14 +01:00