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
  • 9 years ago
  • 2 hours ago
  • 9 years ago

Installs

  • Total 1K
  • Win 939
  • Mac 201
  • Linux 112
May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Mac 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 0 0 0 0 0 0 0 0 0 0 0 1
Linux 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 0 0 0 1 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>