Snippets for sublime support REI Cedar markup
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.no-sublime-package
LICENSE
README.md
alert-backorder.sublime-snippet
alert-error.sublime-snippet
alert-info.sublime-snippet
alert-success.sublime-snippet
alert-warning.sublime-snippet
breadcrumb.sublime-snippet
button-close.sublime-snippet
button-core-black.sublime-snippet
button-core-primary.sublime-snippet
button-core-secondary.sublime-snippet
button-core-white.sublime-snippet
button-explore-black.sublime-snippet
button-explore-outline.sublime-snippet
button-explore-primary.sublime-snippet
button-explore-secondary.sublime-snippet
button-explore-white.sublime-snippet
button-filter-remove.sublime-snippet
button-group.sublime-snippet
button-offprice-primary.sublime-snippet
button-offprice-secondary.sublime-snippet
button-remove.sublime-snippet
form-horizontal.sublime-snippet
form-inline.sublime-snippet
heading-announce-h1.sublime-snippet
heading-announce-h2.sublime-snippet
heading-announce-h3.sublime-snippet
heading-announce-h4.sublime-snippet
heading-announce-h5.sublime-snippet
heading-announce-h6.sublime-snippet
heading-core-h1.sublime-snippet
heading-core-h2.sublime-snippet
heading-core-h3.sublime-snippet
heading-core-h4.sublime-snippet
heading-core-h5.sublime-snippet
heading-core-h6.sublime-snippet
heading-explore-h1.sublime-snippet
heading-explore-h2.sublime-snippet
heading-explore-h3.sublime-snippet
heading-explore-h4.sublime-snippet
heading-explore-h5.sublime-snippet
heading-explore-h6.sublime-snippet
heading-hero-h1.sublime-snippet
heading-hero-h2.sublime-snippet
heading-hero-h3.sublime-snippet
heading-hero-h4.sublime-snippet
heading-hero-h5.sublime-snippet
heading-hero-h6.sublime-snippet
heading-label-h1.sublime-snippet
heading-label-h2.sublime-snippet
heading-label-h3.sublime-snippet
heading-label-h4.sublime-snippet
heading-label-h5.sublime-snippet
heading-label-h6.sublime-snippet
icon-account.sublime-snippet
icon-add.sublime-snippet
icon-backorder.sublime-snippet
icon-calendar.sublime-snippet
icon-call.sublime-snippet
icon-cart-empty.sublime-snippet
icon-cart-full.sublime-snippet
icon-chat.sublime-snippet
icon-check.sublime-snippet
icon-close.sublime-snippet
icon-collapse.sublime-snippet
icon-devices.sublime-snippet
icon-down-arrow.sublime-snippet
icon-email.sublime-snippet
icon-error.sublime-snippet
icon-expand.sublime-snippet
icon-external-link.sublime-snippet
icon-facebook.sublime-snippet
icon-help.sublime-snippet
icon-info.sublime-snippet
icon-inline-search.sublime-snippet
icon-instagram.sublime-snippet
icon-left-arrow.sublime-snippet
icon-locate.sublime-snippet
icon-locator.sublime-snippet
icon-menu.sublime-snippet
icon-pinterest.sublime-snippet
icon-play-large.sublime-snippet
icon-play-small.sublime-snippet
icon-print.sublime-snippet
icon-remove.sublime-snippet
icon-right-arrow.sublime-snippet
icon-search.sublime-snippet
icon-share.sublime-snippet
icon-shipping.sublime-snippet
icon-size-chart.sublime-snippet
icon-star-100.sublime-snippet
icon-star-25.sublime-snippet
icon-star-50.sublime-snippet
icon-star-75.sublime-snippet
icon-success.sublime-snippet
icon-tree-arrow.sublime-snippet
icon-twitter.sublime-snippet
icon-up-arrow.sublime-snippet
icon-warning.sublime-snippet
icon-youtube.sublime-snippet
icon-zoom.sublime-snippet
index.html
input-checkbox.sublime-snippet
input-radio.sublime-snippet
input-select.sublime-snippet
input-text.sublime-snippet
input-textarea.sublime-snippet
link-core-normal.sublime-snippet
link-core-overlay-contrast.sublime-snippet
link-core-overlay.sublime-snippet
link-core-standalone-overlay-text.sublime-snippet
link-core-standalone-overlay-title.sublime-snippet
link-core-standalone-overlay.sublime-snippet
link-core-standalone-text.sublime-snippet
link-core-standalone-title.sublime-snippet
link-core-standalone.sublime-snippet
link-explore-normal-overlay.sublime-snippet
link-explore-normal.sublime-snippet
link-explore-standalone-overlay.sublime-snippet
link-explore-standalone.sublime-snippet
link-header-core-h1.sublime-snippet
link-header-core-h2.sublime-snippet
link-header-core-h3.sublime-snippet
link-header-core-h4.sublime-snippet
link-header-core-h5.sublime-snippet
link-header-core-h6.sublime-snippet
link-header-explore-h1.sublime-snippet
link-header-explore-h2.sublime-snippet
link-header-explore-h3.sublime-snippet
link-header-explore-h4.sublime-snippet
link-header-explore-h5.sublime-snippet
link-header-explore-h6.sublime-snippet
link-header-offprice-h1.sublime-snippet
link-header-offprice-h2.sublime-snippet
link-header-offprice-h3.sublime-snippet
link-header-offprice-h4.sublime-snippet
link-header-offprice-h5.sublime-snippet
link-header-offprice-h6.sublime-snippet
link-header-overlay-h1.sublime-snippet
link-header-overlay-h2.sublime-snippet
link-header-overlay-h3.sublime-snippet
link-header-overlay-h4.sublime-snippet
link-header-overlay-h5.sublime-snippet
link-header-overlay-h6.sublime-snippet
link-navigation-normal.sublime-snippet
link-navigation-overlay-sub-navigation.sublime-snippet
link-navigation-overlay-title.sublime-snippet
link-navigation-overlay-utility.sublime-snippet
link-navigation-overlay.sublime-snippet
link-navigation-title.sublime-snippet
link-navigation-utility.sublime-snippet
link-offprice-normal-overlay.sublime-snippet
link-offprice-normal.sublime-snippet
link-offprice-standalone-overlay.sublime-snippet
link-offprice-standalone.sublime-snippet
list-bullets.sublime-snippet
list-group-filter.sublime-snippet
list-group-menu.sublime-snippet
list-group-sort.sublime-snippet
list-inline-feature-link.sublime-snippet
list-inline-padding-lg.sublime-snippet
list-inline-padding.sublime-snippet
list-inline-pipe.sublime-snippet
list-inline.sublime-snippet
list-ordered.sublime-snippet
list-unstyled.sublime-snippet

README.md

rei-cedar-sublime-snippets

Snippets for sublime support REI Cedar markup

Installation

  1. Install Package Control for Sublime Text.

  2. Open the command palette

  • OSX: + Shift + P
  • Win,Linux: Ctrl + Shift + P
  1. Find Package Control: Add Repository in the command palette and select it.

  2. Copy/paste the URL of this repository (https://github.com/rei/rei-cedar-sublime-snippets) into the input at the bottom of the window and hit enter.

  3. Open the command palette again and find Package Control: Install Package and select it.

  4. Find the package named rei-cedar-sublime-snippets and select it.

  5. After the package installs, restart Sublime Text.

Documentation and usage

Documentation with code examples and the snippet shortcut string can be found here. Names map almost directly to what is used on the patterns site if you need to refer to usage or notes about the markup.

Completion can be fuzzy typed once auto complete is opened with Ctrl + Space

Example: Inline list with feature links (list-inline-feature-link) -- you don't need to type out that long name to get it.

  1. Type li
  2. Press Ctrl + Space to bring up auto complete for matching snippet names that begin with li.
  3. Keep typing other parts of the name such as: in for inline or fea for feature.
  4. If you see it in the list you can use the arrow keys to select it or keep typing until you get down to just the one.
  5. Press Enter to trigger the snippet expansion.

Updating

If there are updates, they will be automatically applied at startup.

If you need to manually update, you can do so by opening the command palette and selecting Package Control: Upgrade Package then select the package if there is an update available.