From d90199c8dbb2028cbe1f22997ab1cb0c26022916 Mon Sep 17 00:00:00 2001
From: Xinyang Yu <47915643+xy-241@users.noreply.github.com>
Date: Thu, 25 Jan 2024 17:56:26 +0000
Subject: [PATCH] fix: code block overflow scroll (#729)

---
 quartz/plugins/transformers/gfm.ts |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/quartz/plugins/transformers/gfm.ts b/quartz/plugins/transformers/gfm.ts
index 62624aa..40c2205 100644
--- a/quartz/plugins/transformers/gfm.ts
+++ b/quartz/plugins/transformers/gfm.ts
@@ -31,6 +31,11 @@
             rehypeAutolinkHeadings,
             {
               behavior: "append",
+              properties: {
+                ariaHidden: true,
+                tabIndex: -1,
+                "data-no-popover": true,
+              },
               content: {
                 type: "text",
                 value: " ยง",

--
Gitblit v1.10.0