Pre language syntax highlighting
Pre (language) syntax highlighting for Sublime Text 2
Details
Installs
- Total 3K
- Win 1K
- Mac 632
- Linux 508
Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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