From 7d46072d6c20f7ee78fe7c6f28f7315e28200ffa Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Wed, 30 Jan 2013 09:58:27 +0100 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f52420e..3751626 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# markupify +# json-markup Highlight your JSON with HTML markup - npm install markupify + npm install json-markup -Markupify will take a JSON document and add markup to it so it can be styled in a browser. +json-markup will take a JSON document and add markup to it so it can be styled in a browser. ``` js -var markupify = require('markupify'); +var jsonMarkup = require('json-markup'); -var html = markupify({hello:'world'}); +var html = jsonMarkup({hello:'world'}); console.log(html); ``` @@ -23,4 +23,4 @@ The above example will print the following HTML ``` Afterwards you can use css to style your output to your liking. -A stylesheet similar to [JSON view](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc) is included in [style.css](https://github.com/mafintosh/markupify/blob/master/style.css) \ No newline at end of file +A stylesheet similar to [JSON view](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc) is included in [style.css](https://github.com/mafintosh/markupify/blob/master/style.css)