www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 549104c5a8b9adda09d6fe080b721237c8186e05
parent 90ba0e341de3f94c48a32144ce7f5974dcf9a174
Author: James Lee <mateddy@gmail.com>
Date:   Fri, 13 Jan 2017 19:15:57 +0800

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
Diffstat:
Mcontrib/auto-render/README.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/auto-render/README.md b/contrib/auto-render/README.md @@ -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