We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38918f6 commit c3a5bdbCopy full SHA for c3a5bdb
1 file changed
docs/src/components/CalloutProcessor.astro
@@ -11,7 +11,7 @@ const CALLOUT_MARKER_RE = new RegExp(`\\[!(${CALLOUT_TYPE_PATTERN})\\]`, "i");
11
const BLOCKQUOTE_RE = new RegExp(`<blockquote[^>]*>([\\s\\S]*?)<\\/blockquote>`, "gi");
12
// Markdown pattern: > [!TYPE]\n> line ... (stops at first blank or non > line)
13
const MD_CALLOUT_RE = new RegExp(
14
- `(^|\n)>\\s*\\[!(${CALLOUT_TYPE_PATTERN})\\]\\s*\n((?:>.*(?:\n|$))+)(?=\n[^>]|")?`,
+ `(^|\n)>\\s*\\[!(${CALLOUT_TYPE_PATTERN})\\]\\s*\n((?:>.*(?:\n|$))+)(?=\n[^>]|$)?`,
15
"gi"
16
);
17
0 commit comments