Преглед изворни кода

fix example in README to match current exports

Corey Innis пре 13 година
родитељ
комит
85c98bb838
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -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>