chore: add vue-showdown (#630)

This commit is contained in:
Liu Xinyu 2018-12-18 06:40:32 +08:00 committed by Estevão Soares dos Santos
parent bd927b5b7a
commit 4af13e5e76

View File

@ -404,6 +404,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.