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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user