فهرست منبع

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>