github jackyzha0/quartz v5.4.1
Quartz 5.4.1

one hour ago

Patch Changes

  • 724d70a: Links resolve against pages before aliases, as in Obsidian, where aliases aren't link targets: [[upgrading]] reaches the note getting-started/upgrading.md even when another address upgrading is an alias, and a note named like an alias wins over it. A link that only an alias matches now goes straight to the page with the alias, so its #anchor works (the alias's redirect page dropped it), and backlinks and the graph count it as a link to that page. Aliases are read before the build, like permalinks, so large sites built with worker threads resolve every alias. Redirect pages Quartz writes for slugs.stripDiacritics keep the #anchor of the address they redirect from.
  • ad10a98: Alias redirect pages keep the #anchor of the address they redirect from (@quartz-community/alias-redirects 1.0.5), so a link from outside the site to alias#heading lands on the heading instead of the top of the page.
  • 706b6fd: The config schema (editor validation of quartz.config.yaml) accepts configuration.fonts, theme.typography.title, and fonts given with their weights ({ name, weights, includeItalic }), which the build already supported. With extends, a partial theme (for example one colour) is no longer reported as missing fontOrigin, typography or darkMode.
  • f2015a4: Reinstalling an npm plugin at the version pinned in quartz.lock.json (after a fresh clone, or on a CI runner) no longer rewrites its installedAt, so npx quartz plugin install leaves the lockfile unchanged, as it does for Git plugins.
  • c92fed9: Popovers show next to their link with Obsidian themes (quartz-themes-core) too: its Obsidian base styles made them position: absolute, so on a scrolled page they appeared a scroll's height above the link, often off screen — links to headings and an embed's "link to original" seemed to show no popover. A popover for a link to a heading now also scrolls the heading to the top of the popover when the theme positions the page's content box.
  • 87ee900: Links resolve as in Obsidian in more cases (@quartz-community/utils 1.3.5): [[./index|index]] in a subfolder links to that folder's index page instead of the home page; when several notes share a name, a link prefers the one under the linking note's folder, then the shortest path, instead of pointing to a page that doesn't exist (for example [Status](current.md) in a vault where several folders have a current.md); a ../ link that names no note resolves from the folder it leads to; and a link starting with / is a path from the root.

Don't miss a new quartz release

NewReleases is sending notifications on new releases.