chore: add vue-showdown (#630)

This commit is contained in:
Liu Xinyu 2018-12-18 06:40:32 +08:00 committed by SyntaxRules
parent 35730b7c80
commit 55314da376

View File

@ -435,6 +435,10 @@ If you're using TypeScript you maybe want to use the types from [DefinitelyTyped
Integration with SystemJS can be obtained via the third party ["system-md" plugin](https://github.com/guybedford/system-md). Integration with SystemJS can be obtained via the third party ["system-md" plugin](https://github.com/guybedford/system-md).
## Integration with VueJS
To use ShowdownJS as a Vue component quickly, you can check [vue-showdown](https://vue-showdown.js.org/).
## XSS vulnerability ## XSS vulnerability
Showdown doesn't sanitize the input. This is by design since markdown relies on it to allow certain features to be correctly parsed into HTML. Showdown doesn't sanitize the input. This is by design since markdown relies on it to allow certain features to be correctly parsed into HTML.