Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Jan 30, 2013
1 parent 2858caf commit f11408e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -64,5 +64,5 @@ module.exports = function(doc) {
return '';
};

return '<div class="markupify">'+visit(doc)+'</div>';
};
return '<div class="json-markup">'+visit(doc)+'</div>';
};
2 changes: 1 addition & 1 deletion 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"],
Expand Down
14 changes: 7 additions & 7 deletions 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;
}
}

0 comments on commit f11408e

Please sign in to comment.