Permalink
Browse files

fix code markup

  • Loading branch information...
1 parent d0d1e17 commit 3f90cd05638969efa5c961d7ed516dd25cc78367 Geoff Flarity committed Mar 10, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 README.md
View
@@ -45,8 +45,8 @@ Search search.npmjs.org for nervous. Plugins conform to the naming convention 'n
Please take a look the included examples as well as those plugins available through npm. It's really easy:
-
-`//this oneliner loads the config.json in the plugin root dir
+`
+//this oneliner loads the config.json in the plugin root dir
var config = JSON.parse( fs.readFileSync( require.resolve('./config.json') ) );
//export a single function, it gets an event emitter which you send out graphite data on as you like
@@ -57,7 +57,8 @@ module.exports = function( axon ) {
//or:
axon.emit( 'data', name, value, timestamp );
-};`
+};
+`
## How to test plugins:

0 comments on commit 3f90cd0

Please sign in to comment.