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

Silk Web Toolkit Snippets

A set of Silk snippets for Sublime Text 2

Labels snippets

Details

  • 2013.05.14.19.35.53
  • github.​com
  • github.​com
  • 8 years ago
  • 41 minutes ago
  • 8 years ago

Installs

  • Total 1K
  • Win 913
  • Mac 200
  • Linux 110
Oct 27 Oct 26 Oct 25 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
Windows 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 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 0
Mac 0 0 0 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 0 0 0 1 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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

Readme

Source
raw.​githubusercontent.​com

SILK SUBLIME TEXT 2 SNIPPETS

About

A collection of Silk snippets for Sublime Text 2.

Install

Just grab the download, or clone, then put the snippets in your 'packages/User' directory.

Alternatively use Package Control.

Usage

Type the snippet tabTrigger/shortcode to complete the snippet.

The snippets are listed below in no particular order. The '$1' indicates first editable section of the snippet. Some snippets have been set up so that pressing Tab jumps the caret to the next predefined editable section.

If you want to contribute just fork this repository and submit a pull request, or fire your idea over to our mailing list. The more generic and reusable your contributions/ideas the better.

Silk Component

skc

<div id="silk-component:${1}">${2}</div>

Silk View

skv

<html>
  <body>
    ${1}
  </body>
</html>

Silk Template

skt

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>${1}</title>
  </head>

  <body>



    <div id="silk-view">

    </div>


  </body>
</html>