Comparing version 0.2.2 to 0.2.3
@@ -0,1 +1,7 @@ | ||
## v0.2.3 - July 30, 2014 | ||
* Add colors for Markdown files. | ||
* Add colors for CSS tokens. | ||
* Add colors for C pre-processor directives. | ||
## v0.2.2 - July 30, 2014 | ||
@@ -2,0 +8,0 @@ |
21
index.js
@@ -47,2 +47,4 @@ var hljs = require('highlight.js'); | ||
built_in: 'keyword', | ||
tag: 'keyword', /* css tag */ | ||
class: 'keyword', /* css class */ | ||
@@ -54,12 +56,29 @@ title: '4', /* tags, function names */ | ||
pi: 'comment', /* xml declaration */ | ||
preprocessor: 'comment', /* C/C++ preprocessor directives */ | ||
horizontal_rule: 'comment', /* markdown HR --- */ | ||
string: '32', | ||
value: 'string', /* html/json values */ | ||
code: 'string', /* markdown code */ | ||
link_reference: 'string', /* markdown link reference */ | ||
number: '33', | ||
symbol: 'number', /* ruby :symbols */ | ||
hexcolor: 'number', /* css hex holor */ | ||
link_url: 'number', /* markdown link url */ | ||
function: '1', /* css function, like rgba() */ | ||
strong: 'function', /* markdown strong */ | ||
link_label: 'strong', /* markdown links */ | ||
header: '1;37', /* markdown header */ | ||
attribute: '34', /* html/json attributes */ | ||
literal: 'attribute', | ||
literal: 'attribute', /* true, false, etc */ | ||
variable: 'attribute', /* xml variable */ | ||
pseudo: '30', /* css pseudoclass :before */ | ||
attr_selector: 'pseudo', /* css attr [type='number'] */ | ||
blockquote: 'pseudo', /* markdown blockquote */ | ||
params: '0', /* function parameters () */ | ||
regexp: '35' | ||
@@ -66,0 +85,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Command-line syntax highlighter.", | ||
@@ -8,0 +8,0 @@ "main": "index.js", |
10246
240