Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Github Markdown blockquotes snippets #743

Closed
0237h opened this issue Dec 15, 2023 · 1 comment
Closed

Update Github Markdown blockquotes snippets #743

0237h opened this issue Dec 15, 2023 · 1 comment

Comments

@0237h
Copy link

0237h commented Dec 15, 2023

The current snippets ghnote and ghwarn are using a deprecated syntax for rendering blockquotes information.

From the link above (update 14 Nov 2023):

The initial syntax using e.g. Note isn't supported any longer.

The new snippets format should be (e.g. for ghnote):

@@ -1,6 +1,5 @@
 <snippet>
-	<content><![CDATA[> **Note**
->
+	<content><![CDATA[> [!NOTE]
 > ${0:enter text}
 ]]></content>
 	<tabTrigger>ghnote</tabTrigger>
	<scope>text.html.markdown - meta.frontmatter - meta.disable-markdown - meta.code-fence - markup.raw</scope>
	<description>Markdown Admonition</description>
</snippet>

Additionally, support for ghtip, ghimportant and ghcaution can be added.

I can try to work on a PR based on the CONTRIBUTING.md guidelines when I have some time later.

@deathaxe
Copy link
Member

I'll update them when integrating sublimehq/Packages#3892

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants