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

Monokai Extended

by jonschlinkert ST2/ST3

Extends Monokai from Soda with additional syntax highlighting for Markdown, LESS, HTML, Handlebars and more.

Details

  • 2017.05.19.12.42.44
  • github.​com
  • github.​com
  • 3 months ago
  • 27 minutes ago
  • 4 years ago

Installs

  • Total 103K
  • Win 49K
  • OS X 36K
  • Linux 18K
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 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
Windows 30 31 57 43 37 28 30 46 54 44 36 41 29 18 47 48 54 44 50 34 32 40 49 54 65 60 27 27 50 43 51 54 52 35 36 42 63 63 50 56 24 27 48 53 55 50
OS X 27 16 26 31 25 14 12 25 35 29 21 26 21 11 16 26 34 29 27 19 22 31 29 28 24 20 15 16 21 36 28 37 23 13 10 27 36 28 28 20 13 13 41 36 25 36
Linux 16 16 12 18 11 8 17 14 15 12 10 11 10 8 22 14 21 12 12 15 14 15 15 13 18 10 12 8 17 19 15 20 8 11 10 8 14 11 21 13 10 9 14 16 12 14

Readme

Source
raw.​githubusercontent.​com

sublime-monokai-extended package control total downloads

(Companion to sublime-markdown-extended)


Extends Soda Monokai with:

  • Additional syntax highlighting for markdown, LESS, coffee, diffs, and handlebars and more!
  • Improved syntax highlighting for regular expressions, HTML, LESS, CSS, JavaScript and more!


See: examples ↓ | before and after screenshots


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 “Monokai 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/jonschlinkert/sublime-monokai-extended.git "sublime-monokai-extended"

2. Switch Themes

Open a Markdown file in Sublime Text and make sure that syntax highlighting is set to Markdown Extended (not Markdown) View -> Syntax -> Markdown Extended.

Then go to Preferences -> Color Scheme -> Monokai Extended and pick a theme.

Monokai 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: literal language variable (When using babel-sublime)
  • js: []
  • js: ()
  • js: {}
  • JSON string
  • CoffeeScript: #{}
  • 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

See before and after examples

image


CSS

The following improvements apply to both CSS and LESS.

CSS Before

Spot the #ids at a glance?

image

CSS After

How about now?

image

Authors

Jon Schlinkert

Alexander Krivoshhekov

License

Copyright © 2013-2016, Jon Schlinkert. Released under the MIT license.