From 43d87198075e8f08be82c0b58adad119e2d58489 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Fri, 23 Sep 2022 13:22:32 +0900 Subject: [PATCH] fixed heading margin --- app/syntax/quot.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/syntax/quot.ts b/app/syntax/quot.ts index 7f1d70d..402ab83 100644 --- a/app/syntax/quot.ts +++ b/app/syntax/quot.ts @@ -24,7 +24,9 @@ export const quotHighlighting = syntaxHighlighting( tag: t.heading, fontWeight: "bold", fontSize: "1.25em", - marginBlockEnd: "0.5em", + ".cm-line:has(> &)": { + marginBlockEnd: "0.5em", + }, }, { tag: t.link,