auto-renderer README.md - added integrity (#591)

Integrity generated from https://www.srihash.org/
Reference: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
This commit is contained in:
James Lee 2017-01-13 19:15:57 +08:00 committed by Martin von Gagern
parent 90ba0e341d
commit 549104c5a8

View File

@ -10,7 +10,7 @@ This extension isn't part of KaTeX proper, so the script should be separately
included in the page:
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/contrib/auto-render.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/contrib/auto-render.min.js" integrity="sha384-v0hOo8Okju1/6E2iC8uuVf29cmfGZBHsPKw2LVlfjvJ08HnN2aj0P3/lWNKtzBWK" crossorigin="anonymous"></script>
```
Then, call the exposed `renderMathInElement` function in a script tag