ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Git​Hub Markdown Snippets

by praveenpuglia ALL

GitHub flavored Markdown with plain'ol HTML knowledge! Boom!

Details

Installs

  • Total 11K
  • Win 5K
  • Mac 4K
  • Linux 2K
Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5
Windows 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 2 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0

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

Link Title

Puppies are cute

ol       // Ordered List
ul       // Unordered List
table    // Table
  1. First Item
  2. Second Item
  3. Third Item
  • I
  • Love
  • Markdown
Column 1 Column 2
Cell 1-1 Cell 1-2
Cell 2-1 Cell 2-2