GitHub Markdown Snippets
GitHub flavored Markdown with plain'ol HTML knowledge! Boom!
Details
Installs
- Total 11K
- Win 5K
- Mac 4K
- Linux 2K
Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 |
Linux | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
GitHub Markdown Snippets
Helpful Sublime Text snippets to get you started with GitHub flavored Markdown by letting you type the plain old HTML tags.
Installation
Via Package Control
The easiest way is to install it via Package Control.
- Go to Command Palette Ctrl + Shift + P or ⌘ + Shift + P
- Select Package Control : Install Package
- Search for Github Markdown Snippets
Manual
- Clone the repository or download the ZIP
- Extract the archive
- Put it in your Packages(
Preferences > Browse Packages...
) directory.
Using with Emmet
If you have Emmet installed, tab triggers may not function as expected due to this.
To get around the problem, go to
Preferences > Package Settings > Emmet > User Settings
and add the following in your settings file.
{
"disable_tab_abbreviations_for_scopes": "text.html.markdown"
}
This should let markdown snippets take precedence over emmet's tab to expand abbreviations feature and provide correct snippets.
Note that any tab trigger not set by this plugin will be converted to HTML tags which is convenient for people who want to use HTML tags inside Markdown files.
Usage
A consolidated guide is available here.
Type a tag name and hit tab. That's it! :relaxed:
:snowflake: Long tags like blockquote
are shortened for power use.
List of Tab Triggers
h1 // Heading 1
h2 // Heading 2
h3 // Heading 3
h4 // Heading 4
h5 // Heading 5
h6 // Heading 6
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
b // Bold
i // Italic
bq // Blockquote
strike // Strikeout
hr // Horizontal Rule, Divider
Bold Text
Italic Text
Put a nice, beautiful quote here…
Strike Through
code // Inline Code
pre // Code Block with language based highlighting.
Inline Code Snippet
var message = "Code Block";
alert( message );
a // Anchor
img // Image
ol // Ordered List
ul // Unordered List
table // Table
- First Item
- Second Item
- Third Item
- I
- Love
- Markdown
Column 1 | Column 2 |
---|---|
Cell 1-1 | Cell 1-2 |
Cell 2-1 | Cell 2-2 |