diff --git a/docs/configuration.md b/docs/configuration.md index 4026c5197..daf18187d 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -4,6 +4,14 @@ title: Configuration Quartz is meant to be extremely configurable, even if you don't know any coding. Most of the configuration you should need can be done by just editing `quartz.config.ts` or changing [[layout|the layout]] in `quartz.layout.ts`. +[[hosting#^123456]] + +[[#general-configuration]] + +[[#^test]] + +[[configuration#^test]] + > [!tip] > If you edit Quartz configuration using a text-editor that has TypeScript language support like VSCode, it will warn you when you you've made an error in your configuration, helping you avoid configuration mistakes! @@ -76,7 +84,7 @@ plugins: { - [[tags/plugin/filter|Filters]] **filter** content (e.g. filtering out drafts) - [[tags/plugin/emitter|Emitters]] **reduce** over content (e.g. creating an RSS feed or pages that list all files with a specific tag) -You can customize the behaviour of Quartz by adding, removing and reordering plugins in the `transformers`, `filters` and `emitters` fields. +You can customize the behaviour of Quartz by adding, removing and reordering plugins in the `transformers`, `filters` and `emitters` fields. ^test > [!note] > Each node is modified by every transformer _in order_. Some transformers are position sensitive, so you may need to pay particular attention to whether they need to come before or after certain other plugins. diff --git a/docs/hosting.md b/docs/hosting.md index 8b945a24b..214bc4fa0 100644 --- a/docs/hosting.md +++ b/docs/hosting.md @@ -34,7 +34,7 @@ To add a custom domain, check out [Cloudflare's documentation](https://developer ## GitHub Pages -In your local Quartz, create a new file `quartz/.github/workflows/deploy.yml`. +In your local Quartz, create a new file `quartz/.github/workflows/deploy.yml`. ^123456 ```yaml title="quartz/.github/workflows/deploy.yml" name: Deploy Quartz site to GitHub Pages diff --git a/quartz/components/scripts/popover.inline.ts b/quartz/components/scripts/popover.inline.ts index bfb86787f..52563e003 100644 --- a/quartz/components/scripts/popover.inline.ts +++ b/quartz/components/scripts/popover.inline.ts @@ -87,9 +87,10 @@ async function mouseEnterHandler( const targetID = `popover-${el.id}` el.id = targetID }) + console.log(hash) const targetLink = hash.startsWith("#popover") ? hash - : `#popover-${hash.slice(1).replace("^", "").replace("%5E", "")}` + : `#popover-${hash.slice(1)}` hash = targetLink const elts = [...html.getElementsByClassName("popover-hint")] if (elts.length === 0) return