docs: fix admonition regular expression (#2702)

From #2699, Co-authored by @monooleate

Added `margin-bottom` to better visually align icon with title.
This commit is contained in:
Mackie Burgess
2024-10-10 20:23:08 +02:00
committed by GitHub
parent 8752dba3cf
commit dd555580e1
3 changed files with 80 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const slugger = new GitHubSlugger();
Marked.marked.use(mangle());
const ADMISSION_REG = /^<p>\[(info|warn|tip)\]:\s/;
const ADMISSION_REG = /^\[(info|warn|tip)\]:\s/;
export interface MarkdownHeading {
id: string;