Pre language syntax highlighting
Pre (language) syntax highlighting for Sublime Text 2
Details
Installs
- Total 3K
- Win 2K
- Mac 650
- Linux 525
Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 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 | 1 | 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 |
Linux | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Pre (language) syntax package for Sublime Text 2
Provides syntax highlighting for .pre
files and support for comment-toggle commands.
Installing
With the Package Control plugin: The easiest way to install this package is through Package Control, which can be found at this site: http://wbond.net/sublime_packages/package_control
Once you install Package Control, restart ST2 and bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows). Select “Package Control: Install Package”, wait while Package Control fetches the latest package list, then select pre
when the list appears.
Without Git: Download the latest source zip from github and extract the files to your Sublime Text “Packages” directory, into a new directory named pre
.
With Git: Clone the repository in your Sublime Text “Packages” directory:
git clone git://github.com/jonschlinkert/pre-sublime.git pre
The “Packages” directory is located at:
- OS X:
~/Library/Application Support/Sublime Text 2/Packages/
- Linux:
~/.Sublime Text 2/Packages/
- Windows:
%APPDATA%/Sublime Text 2/Packages/
Color Scheme
Some snippets to use in your favorite .tmTheme
file.
<dict>
<key>name</key>
<string>css.id</string>
<key>scope</key>
<string>meta.selector.css entity.other.attribute-name.id</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#E5D56D</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>css.class</string>
<key>scope</key>
<string>entity.other.attribute-name.class</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#A0C25F</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>pre.mixin</string>
<key>scope</key>
<string>entity.other.pre.mixin</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#98E124</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>css.element</string>
<key>scope</key>
<string>keyword.control.html.elements</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#DA4632</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>css.string</string>
<key>scope</key>
<string>meta.attribute-selector.css string</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FF950A</string>
</dict>
</dict>
Credits
This package was forked from, and is based on the LESS syntax package from @danro