diff --git a/index.js b/index.js index d8b2cfb..47cbe5a 100644 --- a/index.js +++ b/index.js @@ -64,5 +64,5 @@ module.exports = function(doc) { return ''; }; - return '
'+visit(doc)+'
'; -}; \ No newline at end of file + return '
'+visit(doc)+'
'; +}; diff --git a/package.json b/package.json index 2e54560..4b4bd5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name":"json-markup", - "version":"0.1.1", + "version":"0.1.2", "repository": "git://github.com/mafintosh/json-markup", "description":"a json to html syntax highlighter", "keywords": ["json", "html", "syntax", "highlight"], diff --git a/style.css b/style.css index f564527..f422331 100644 --- a/style.css +++ b/style.css @@ -1,21 +1,21 @@ -.markupify { +.json-markup { line-height: 17px; font-size: 13px; font-family: monospace; white-space: pre; } -.markupify .key { +.json-markup .key { font-weight: bold; } -.markupify .bool { +.json-markup .bool { color: firebrick; } -.markupify .string { +.json-markup .string { color: green; } -.markupify .null { +.json-markup .null { color: gray; } -.markupify .number { +.json-markup .number { color: blue; -} \ No newline at end of file +}