mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
Merge pull request #54 from danielquinn/patch-1
extensions should be a list, not a string.
This commit is contained in:
commit
88283602bb
|
@ -98,7 +98,7 @@ Showdown allows additional functionality to be loaded via extensions.
|
|||
<script src="src/showdown.js" />
|
||||
<script src="src/extensions/twitter.js" />
|
||||
|
||||
var converter = new Showdown.converter({ extensions: 'twitter' });
|
||||
var converter = new Showdown.converter({ extensions: ['twitter'] });
|
||||
```
|
||||
|
||||
### Server-side Extension Usage
|
||||
|
|
Loading…
Reference in New Issue
Block a user