From 5e5c607b80c4a34c52a03b03b0fb0ec3a8de12bf Mon Sep 17 00:00:00 2001 From: Stephen Tse Date: Sat, 19 Apr 2025 16:39:30 -0700 Subject: [PATCH] Fixed examples --- quartz/plugins/transformers/ofm.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz/plugins/transformers/ofm.ts b/quartz/plugins/transformers/ofm.ts index 9fea3447e..15d00617d 100644 --- a/quartz/plugins/transformers/ofm.ts +++ b/quartz/plugins/transformers/ofm.ts @@ -135,8 +135,8 @@ export const tableWikilinkRegex = new RegExp(/(!?\[\[[^\]]*?\]\]|\[\^[^\]]*?\])/ // -> For LaTeX: (?:.*?\${1,2}[^$]*?==[^$]*?\${1,2}.*?)*? // -> For code blocks: (?:.*?`[^`]*?==[^`]*?`.*?)*? // Test Examples: -// * ==$$A == B AND B == C$$ and $$B == C AND C == D$$== -// * ==$A == B AND B == C$ and $B == C AND C == D$== +// * ==$$A == B \land B == C$$ and $$B == C \land C == D$$== +// * ==$A == B \land B == C$ and $B == C \land C == D$== // * ==`A == B && B == C` and `B == C && C == D`== const highlightRegex = new RegExp( /(?)((?:.*?\${1,2}[^$]*?==[^$]*?\${1,2}.*?)*?|(?:.*?`[^`]*?==[^`]*?`.*?)*?|.+?)(?)/g,