Skip to content

Commit 34f264d

Browse files
committed
fix: flip matchCaseSensitive to false, align with GitHub
1 parent 9e94643 commit 34f264d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface MarkdownItGitHubAlertsOptions {
99

1010
/**
1111
* If markers case sensitively on matching.
12-
* @default true
12+
* @default false
1313
*/
1414
matchCaseSensitive?: boolean
1515

@@ -49,7 +49,7 @@ const MarkdownItGitHubAlerts: MarkdownIt.PluginWithOptions<MarkdownItGitHubAlert
4949
const {
5050
markers = ['TIP', 'NOTE', 'IMPORTANT', 'WARNING', 'CAUTION'],
5151
icons = DEFAULT_GITHUB_ICONS,
52-
matchCaseSensitive = true,
52+
matchCaseSensitive = false,
5353
titles = {},
5454
classPrefix = 'markdown-alert',
5555
} = options

0 commit comments

Comments
 (0)