fix example in README to match current exports

This commit is contained in:
Corey Innis 2012-06-15 12:03:13 -07:00
parent 7babd64590
commit 85c98bb838

View File

@ -38,10 +38,10 @@ Quick Example
-------------
``` js
var Showdown = require('showdown').Showdown
var converter = new Showdown().converter()
var Showdown = require('showdown');
var converter = new Showdown.converter();
converter.makeHtml('#hello markdown!')
converter.makeHtml('#hello markdown!');
// <h1 id="hellomarkdown">hello, markdown</h1>