Skip to content

Commit d6fb077

Browse files
author
deathaxe
committed
Snippets: Update Github Alerts
Resolves #743
1 parent 2cb5763 commit d6fb077

6 files changed

+33
-4
lines changed

messages/next.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ feedback you can use [GitHub issues][issues].
77

88
## New Features
99

10+
- syntax highlighting and snippets for Github Alerts (closes #743)
11+
1012
## Changes
1113

1214
[issues]: https://github.com/SublimeText-Markdown/MarkdownEditing/issues
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[> [!CAUTION]
3+
>
4+
> ${0:enter text}
5+
]]></content>
6+
<tabTrigger>ghcaution</tabTrigger>
7+
<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
8+
<description>Github Alert</description>
9+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[> [!IMPORTANT]
3+
>
4+
> ${0:enter text}
5+
]]></content>
6+
<tabTrigger>ghimportant</tabTrigger>
7+
<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
8+
<description>Github Alert</description>
9+
</snippet>

snippets/Github Note.sublime-snippet

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<snippet>
2-
<content><![CDATA[> **Note**
2+
<content><![CDATA[> [!NOTE]
33
>
44
> ${0:enter text}
55
]]></content>
66
<tabTrigger>ghnote</tabTrigger>
77
<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
8-
<description>Markdown Admonition</description>
8+
<description>Github Alert</description>
99
</snippet>

snippets/Github Tip.sublime-snippet

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[> [!TIP]
3+
>
4+
> ${0:enter text}
5+
]]></content>
6+
<tabTrigger>ghtip</tabTrigger>
7+
<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
8+
<description>Github Alert</description>
9+
</snippet>
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<snippet>
2-
<content><![CDATA[> **Warning**
2+
<content><![CDATA[> [!WARNING]
33
>
44
> ${0:enter text}
55
]]></content>
66
<tabTrigger>ghwarn</tabTrigger>
77
<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
8-
<description>Markdown Admonition</description>
8+
<description>Github Alert</description>
99
</snippet>

0 commit comments

Comments
 (0)