Last active
August 11, 2021 05:08
-
-
Save juanmanuelarias/8547349 to your computer and use it in GitHub Desktop.
Code snippets for Sublime Text to create a markdown shortcuts.To use it just add the ".sublime-snippet" files inside "Packages/User" or a subfolder "Packages/User/md"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
__$1__$2 | |
]]></content> | |
<tabTrigger>__</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
```${1:js} | |
$2 | |
``` | |
$3 | |
]]></content> | |
<!-- Type "-cb" + tab in a .md file to insert a code block --> | |
<tabTrigger>-cb</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
`$1` | |
]]></content> | |
<!-- Type "-c" + tab in a .md file to insert a code line --> | |
<tabTrigger>-c</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><$3 | |
]]></content> | |
<!-- Type "-i" + tab key in a .md file to insert an image shortcut --> | |
<tabTrigger>-i</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
_$1_$2 | |
]]></content> | |
<!-- Type "-t" + tab key in a .md file to insert a table --> | |
<tabTrigger>_</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><$3 | |
]]></content> | |
<!-- Type "-l" + tab key in a .md file to insert a link shortcut --> | |
<tabTrigger>-l</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
(**sl.$1**)$2 | |
]]></content> | |
<!-- My custom snippet to takes notes from slides --> | |
<tabTrigger>-sl</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
| | | |
--- | --- | --- | |
| | | |
]]></content> | |
<!-- Type "-t" + tab key in a .md file to insert a table --> | |
<tabTrigger>-t</tabTrigger> | |
<scope>text.html.markdown</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment