Update README.md

Added information about TypeScript types.
This commit is contained in:
Josua Schmid 2015-06-23 11:13:22 +02:00
parent 5a4ae79c54
commit 5106f6f928

View File

@ -176,6 +176,10 @@ var defaultOptions = showdown.getDefaultOptions();
ShowdownJS project also provides seamlessly integration with AngularJS via a "plugin". ShowdownJS project also provides seamlessly integration with AngularJS via a "plugin".
Please visit https://github.com/showdownjs/ngShowdown for more information. Please visit https://github.com/showdownjs/ngShowdown for more information.
## Integration with TypeScript
If you're using TypeScript you maybe want to use the types from [DefinitelyTyped](https://github.com/borisyankov/DefinitelyTyped/tree/master/showdown)
## 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.