mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
extensions should be a list, not a string.
This confused me a for a bit until I realised what was wrong.
This commit is contained in:
parent
2e102c72b2
commit
9c33c6aa87
|
@ -110,7 +110,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