Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Stories in Ready

sublime-railscasts-extended

Extends original Railscasts theme with additional syntax highlighting for Markdown, LESS, HTML, Handlebars and more.

This theme attempts to add all the good things found in sublime-monokai-extended theme by Jon Schlinkert to the original TextMate Railscasts theme by Ryan Bates.

This theme supports all of the color keys found in Monokai and Monokai Extended themes. This improves the functionality of the syntax highlighting plugins.

All of the values set in this theme were analyzed first. No global search and replace was performed.

Jump to Examples ↓

Getting Started

1. Installation

Package Control

If you already have Package Control installed in Sublime Text:

  • Select "Install Package" from the Command Palette: Ctrl+Shift+P on Windows and Linux or ⇧⌘P on OS X
  • Search for "Railscasts Extended" and click enter.

Manual Installation

Go to Preferences -> Browse Packages, and then either download and unzip this plugin into that directory, or:

git clone https://github.com/jzelenkov/sublime-railscasts-extended.git "sublime-railscasts-extended"

2. Switch Themes

Then inside Sublime Text, go to Preferences -> Color Scheme -> User -> Railscasts Extended.

Railscasts Enhancements

Adds scopes, support and/or improves styling for:

  • GitGutter
  • Makefile
  • HTML: Doctype/XML Processing
  • HTML: Comment Block
  • HTML: Script
  • HTML: Style
  • HTML: Text
  • HTML: Attribute punctuation
  • HTML: Attributes
  • HTML: Quotation Marks
  • HTML: Tag
  • HTML: style
  • HTML: Styles
  • HTML: {}
  • HTML: Tags punctuation
  • Handlebars: Variable (To highlight Handlebars, install the Handlebars language package for Sublime Text)
  • Handlebars: Constant
  • CSS: Selector
  • CSS: Tag Name
  • CSS: @import
  • CSS: @at-rule
  • CSS: #Id
  • CSS: .class
  • CSS: Property Name
  • CSS: Property Value
  • CSS: Standard Value
  • CSS: Additional Constants
  • CSS: Numeric Value
  • CSS: Constructor Argument
  • CSS: !Important
  • CSS: {}
  • CSS: Tag Punctuation
  • CSS: : ,
  • CSS :pseudo
  • LESS: variables
  • LESS: mixins
  • LESS: extend
  • js: function name
  • js: storage type
  • js: source
  • js: function
  • js: numeric constant
  • js: []
  • js: ()
  • js: {}
  • JSON string
  • diff.range
  • markdown: plain (Also install sublime-markdown-extended for additional features.)
  • markdown: raw inline
  • markdown: linebreak
  • markdown: heading
  • markdown: italic
  • markdown: bold
  • markdown: underline
  • markdown: blockquote
  • markdown: quote
  • markdown: link
  • markdown: raw block
  • markdown: fenced code block
  • markdown: fenced language
  • markdown: raw block fenced
  • markdown: list items punctuation
  • markdown: separator
  • markdown: table

Examples

Markdown

railscasts-001-md-before

railscasts-002-md-after

CSS

The following improvements apply to both CSS and LESS.

railscasts-003-css-before

railscasts-004-css-after

GitGutter

Intuitive colors

new => green
modified => yellow
removed => red

Author of the extended version

Jev Zelenkov

Special thanks

To Jon Schlinkert author of the original sublime-monokai-extended theme for inspiring me to do the same for the Railscasts theme.


To Troy Murray for adding the original Railscasts theme to Sublime Package Control.

Copyright and license

Copyright (c) 2014 Jev Zelenkov
Copyright (c) 2008 Ryan Bates

License

Bitdeli Badge

About

Extends original Railscasts theme with additional syntax highlighting for Markdown, LESS, HTML, Handlebars and more.

Resources

License

Packages

No packages published
You can’t perform that action at this time.