Skip to content

Commit 4bcbb80

Browse files
(maint) Add more aliases for alerts (#31324)
1 parent 417527f commit 4bcbb80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.vscode/markdoc.code-snippets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Alert box": {
33
"scope": "markdoc",
4-
"prefix": ";;alert",
4+
"prefix": [";;alert", ";;admonition", ";;note"],
55
"body": ["{% alert level=\"${1|info,warning,danger|}\" %}", "${2:This is an alert message.}", "{% /alert %}"],
66
"description": "Markdoc alert block with a level attribute (info, warning, danger)"
77
},

.vscode/markdown.code-snippets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
"Alert box": {
8181
"scope": "markdown",
82-
"prefix": ";;alert",
82+
"prefix": [";;alert", ";;admonition", ";;note"],
8383
"body": [
8484
"<div class=\"alert alert-${1|info,danger,warning|}\">Text containing an <a href=\"https://google.com\">HTML link.</a></div>"
8585
],

0 commit comments

Comments
 (0)