Skip to content

Commit

Permalink
GitHub alerts case insensitive (#1389)
Browse files Browse the repository at this point in the history
* chore: bump markdown-it-github-alerts to 0.3.0 (override markdown-it)

* "revert: bump markdown-it-github-alerts to 0.3.0 (override markdown-it)"

This reverts commit dbc00ee.

* chore: case insensitive gh-alerts
  • Loading branch information
prazdevs authored Feb 14, 2024
1 parent 4de3b74 commit d2862ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown-it-plugin-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const katexOptions: KatexOptions = { throwOnError: false };
*/
export function extendMarkdownIt(md: MarkdownIt): MarkdownIt {
md.use(require("markdown-it-task-lists"), {enabled: true});
md.use(require("markdown-it-github-alerts"))
md.use(require("markdown-it-github-alerts"), { matchCaseSensitive: false })

if (configManager.get("math.enabled")) {
// We need side effects. (#521)
Expand Down

0 comments on commit d2862ca

Please sign in to comment.