The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: don't show popovers on heading anchors

+9
+4
quartz/components/scripts/popover.inline.ts
··· 7 7 { clientX, clientY }: { clientX: number; clientY: number }, 8 8 ) { 9 9 const link = this 10 + if (link.dataset.noPopover === "true") { 11 + return 12 + } 13 + 10 14 async function setPosition(popoverElement: HTMLElement) { 11 15 const { x, y } = await computePosition(link, popoverElement, { 12 16 middleware: [inline({ x: clientX, y: clientY }), shift(), flip()],
+5
quartz/plugins/transformers/gfm.ts
··· 31 31 rehypeAutolinkHeadings, 32 32 { 33 33 behavior: "append", 34 + properties: { 35 + ariaHidden: true, 36 + tabIndex: -1, 37 + "data-no-popover": true, 38 + }, 34 39 content: { 35 40 type: "text", 36 41 value: " §",