mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-11 14:08:42 +00:00
v0.12.0 release (#2302)
* Release v0.12.0 Bump master to v0.12.1-pre * Update CHANGELOG * Uncomment ES module documentation * Update CHANGELOG.md Co-authored-by: Erik Demaine <edemaine@mit.edu> * Update CHANGELOG.md Co-authored-by: Erik Demaine <edemaine@mit.edu>
This commit is contained in:
@@ -44,7 +44,6 @@ For example:
|
||||
</script>
|
||||
```
|
||||
|
||||
<!-- TODO: uncomment when releasing a new version
|
||||
ECMAScript module is also available:
|
||||
```html
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.2/dist/katex.min.css" integrity="sha384-yFRtMMDnQtDRO8rLpMIKrtPCD5jdktao2TV19YiZYWMDkUR5GQZR/NOVTdquEx1j" crossorigin="anonymous">
|
||||
@@ -52,7 +51,6 @@ ECMAScript module is also available:
|
||||
import renderMathInElement from "https://cdn.jsdelivr.net/npm/katex@0.10.2/dist/contrib/auto-render.mjs";
|
||||
renderMathInElement(document.body);
|
||||
</script>
|
||||
```
|
||||
|
||||
> You can use [`nomodule` attribute](https://developer.mozilla.org/en/HTML/Element/script#Attributes)
|
||||
to provide a fallback for older browsers that do not support ES modules. -->
|
||||
|
Reference in New Issue
Block a user