diff --git a/editions/prerelease/tiddlers/Release 5.1.16.tid b/editions/prerelease/tiddlers/Release 5.1.16.tid index 223c2b3f4..99797d55c 100644 --- a/editions/prerelease/tiddlers/Release 5.1.16.tid +++ b/editions/prerelease/tiddlers/Release 5.1.16.tid @@ -11,7 +11,7 @@ type: text/vnd.tiddlywiki * New [[Dynaview Plugin]] makes it possible to build user interfaces that dynamically respond to changes in scrolling or zooming * Improved [[Text-Slicer Plugin|Text-Slicer Edition]] with customisable JSON rules -* Updated [[KaTeX Plugin]] to latest v0.9.0-beta +* Updated [[KaTeX Plugin]] to latest v0.9.0 !! Translation Improvements diff --git a/plugins/tiddlywiki/katex/files/README.md b/plugins/tiddlywiki/katex/files/README.md index 75e881c06..a3396c1b1 100644 --- a/plugins/tiddlywiki/katex/files/README.md +++ b/plugins/tiddlywiki/katex/files/README.md @@ -1,5 +1,6 @@ -# [KaTeX](https://khan.github.io/KaTeX/) [![Build Status](https://travis-ci.org/Khan/KaTeX.svg?branch=master)](https://travis-ci.org/Khan/KaTeX) - +# [KaTeX](https://khan.github.io/KaTeX/) +[![Build Status](https://travis-ci.org/Khan/KaTeX.svg?branch=master)](https://travis-ci.org/Khan/KaTeX) +[![codecov](https://codecov.io/gh/Khan/KaTeX/branch/master/graph/badge.svg)](https://codecov.io/gh/Khan/KaTeX) [![Join the chat at https://gitter.im/Khan/KaTeX](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Khan/KaTeX?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. @@ -16,8 +17,8 @@ KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, Edg You can [download KaTeX](https://github.com/khan/katex/releases) and host it on your server or include the `katex.min.js` and `katex.min.css` files on your page directly from a CDN: ```html - - + + ``` #### In-browser rendering @@ -41,6 +42,26 @@ var html = katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}"); Make sure to include the CSS and font files, but there is no need to include the JavaScript. Like `render`, `renderToString` throws if it can't parse the expression. +#### Security + +Any HTML generated by KaTeX *should* be safe from `