Coder Social home page Coder Social logo

592146505 / github_markdown_snippets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from praveenpuglia/github_markdown_snippets

0.0 0.0 0.0 20 KB

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

Home Page: http://praveenpuglia.github.io/github_markdown_snippets/

github_markdown_snippets's Introduction

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! ☺️

❄️ 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

github_markdown_snippets's People

Contributors

praveenpuglia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.