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

Ghost Snippets

by matthojo ALL

A Ghost Sublime Text plugin

Details

  • 2014.01.16.22.17.27
  • github.​com
  • github.​com
  • 11 years ago
  • 2 hours ago
  • 11 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

 Ghost Snippets

A Sublime plugin for Ghost snippets.

Install

Using Package Control:

  • Bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows).
  • Select Package Control: Install Package.
  • Search for “Ghost”
  • Select “Ghost Snippets” to install.

Not using Package Control:

  • Save files to the Packages/Ghost Snippets directory, then relaunch Sublime:
  • Linux: ~/.config/sublime-text-3/Packages/Ghost Snippets
  • Mac: ~/Library/Application Support/Sublime Text 3/Packages/Ghost Snippets
  • Windows: %APPDATA%/Sublime Text 3/Packages/Ghost Snippets
  • Available Snippets

    Theming

  • author → {{author}}

  • author.b → {{author.bio}}

  • author.c → {{author.cover}}

  • author.e → {{author.email}}

  • author.i → {{author.image}}

  • author.n → {{author.name}}

  • author.w → {{author.website}}

  • body → {{body}}

  • asset → {{asset ""}}

  • foot → {{ghost_foot}}

  • head → {{ghost_head}}

  • meta_desc → {{meta_description}}

  • meta_t → {{meta_title}}

  • blog_desc → {{@blog.description}}

  • blog_logo → {{@blog.logo}}

  • blog_title → {{@blog.title}}

  • blog_url → {{@blog.url}}

  • bodyclass → {{body_class}}

  • postclass → {{post_class}}

  • encode → {{encode }}

  • foreach → {{#foreach }}{{/foreach}}

  • @odd{{#if @odd}} {{/if}}

  • @even{{#if @even}} {{/if}}

  • @first{{#if @first}} {{/if}}

  • @last{{#if @last}} {{/if}}

  • @rowStart{{#if @rowStart}} {{/if}}

  • @rowEnd{{#if @rowEnd}} {{/if}}

  • content → {{content}}

  • date → {{date format=""}}

  • excerpt → {{excerpt [words=""] [content=""]}}

  • pagin → {{pagination}}

  • tag.n → {{tag.name}}

  • tags → {{tags seperator="" [prefix=""] [suffix=""]}}

  • title → {{{title}}}

  • url → {{url [absolute="true"]}}

Copyright & License

Copyright © 2013 The Ghost Foundation - Released under the MIT License.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.