mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
fix example in README to match current exports
This commit is contained in:
parent
7babd64590
commit
85c98bb838
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user