mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
docs(readme.md): update
This commit is contained in:
parent
69b816e431
commit
0087148a60
11
README.md
11
README.md
|
@ -312,7 +312,7 @@ var defaultOptions = showdown.getDefaultOptions();
|
|||
|
||||
* **ghCodeBlocks**: (boolean) [default true] Enable support for GFM code block style.
|
||||
|
||||
* **tasklists**:(boolean) [default false] Enable support for GFM takslists. Example:
|
||||
* **tasklists**: (boolean) [default false] Enable support for GFM tasklists. Example:
|
||||
|
||||
```md
|
||||
- [x] This task is done
|
||||
|
@ -436,11 +436,12 @@ You can also find a boilerplate, to create your own extensions in [this reposito
|
|||
|
||||
### Client-side Extension Usage
|
||||
|
||||
```js
|
||||
<script src="showdown.js" />
|
||||
<script src="twitter-extension.js" />
|
||||
|
||||
```html
|
||||
<script src="showdown.js"></script>
|
||||
<script src="twitter-extension.js"></script>
|
||||
<script>
|
||||
var converter = new showdown.Converter({ extensions: ['twitter'] });
|
||||
</script>
|
||||
```
|
||||
|
||||
### Server-side Extension Usage
|
||||
|
|
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user