diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b5c480c..9abd6394 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,26 @@ # Changelog All notable changes to this project will be documented in this file. This CHANGELOG roughly follows the guidelines from [www.keepachangelog.com](https://keepachangelog.com/en/1.0.0/). +# [0.16.0](https://github.com/KaTeX/KaTeX/compare/v0.15.6...v0.16.0) (2022-06-06) + + +### Bug Fixes + +* **copy-tex:** Use JS (instead of CSS) to select full equation, solving display glitches ([#3586](https://github.com/KaTeX/KaTeX/issues/3586)) ([8c2d852](https://github.com/KaTeX/KaTeX/commit/8c2d852c4af213ba4e2f4a3b875498c367e9a119)) + + +### BREAKING CHANGES + +* **copy-tex:** copy-tex extension no longer has (or requires) a CSS file. + +* Code cleanup, lint fixes, port to Flow + +* Rewrite to extend both start and end of range + +* Remove contrib/**/*.css linting + +Co-authored-by: Erik Demaine + ## [0.15.6](https://github.com/KaTeX/KaTeX/compare/v0.15.5...v0.15.6) (2022-05-20) diff --git a/README.md b/README.md index 6e1da47f..265dbfde 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,13 @@ Try out KaTeX [on the demo page](https://katex.org/#demo)! - + - + - ... diff --git a/contrib/copy-tex/README.md b/contrib/copy-tex/README.md index dd1c28c0..a92b9984 100644 --- a/contrib/copy-tex/README.md +++ b/contrib/copy-tex/README.md @@ -18,7 +18,7 @@ This extension isn't part of KaTeX proper, so the script should be separately included in the page. ```html - + ``` (Note that, as of KaTeX 0.16.0, there is no longer a corresponding CSS file.) @@ -35,5 +35,5 @@ statement with `require('katex/contrib/copy-tex/katex2tex.js')`. ECMAScript module is also available: ```html - + ``` diff --git a/contrib/mathtex-script-type/README.md b/contrib/mathtex-script-type/README.md index d0efbbac..2e09a21b 100644 --- a/contrib/mathtex-script-type/README.md +++ b/contrib/mathtex-script-type/README.md @@ -11,7 +11,7 @@ included in the page, in addition to KaTeX. Load the extension by adding the following line to your HTML file. ```html - + ``` You can download the script and use it locally, or from a local KaTeX installation instead. @@ -23,9 +23,9 @@ Then, in the body, we use a `math/tex` script to typeset the equation `x+\sqrt{1 - - - + + + @@ -35,4 +35,4 @@ Then, in the body, we use a `math/tex` script to typeset the equation `x+\sqrt{1 ECMAScript module is also available: ```html - + diff --git a/contrib/mhchem/README.md b/contrib/mhchem/README.md index a53e8735..aae76037 100644 --- a/contrib/mhchem/README.md +++ b/contrib/mhchem/README.md @@ -7,7 +7,7 @@ This extension adds to KaTeX the `\ce` and `\pu` functions from the [mhchem](htt This extension isn't part of core KaTeX, so the script should be separately included. Write the following line into the HTML page's ``. Place it *after* the line that calls `katex.js`, and if you make use of the [auto-render](https://katex.org/docs/autorender.html) extension, place it *before* the line that calls `auto-render.js`. ```html - + ``` If you remove the `defer` attribute from this tag, then you must also remove the `defer` attribute from the ` - + ``` @@ -31,9 +31,9 @@ want to use a `defer` or `onload` attribute. For example: ```html - - - + + + ``` diff --git a/docs/browser.md b/docs/browser.md index 4be8a7cb..5e87f0f1 100644 --- a/docs/browser.md +++ b/docs/browser.md @@ -11,13 +11,13 @@ title: Browser - + - + - ... @@ -29,15 +29,15 @@ If you include the `katex.js` directly, the `katex` object will be available as a global variable. ```html - - + + ``` KaTeX also provides minified versions: ```html - - + + ``` The examples above load the script [deferred using the `defer` attribute](https://developer.mozilla.org/en/HTML/Element/script#Attributes) @@ -81,22 +81,22 @@ for more detail. ```html - + ``` ### ECMAScript module ```html - - + + ``` > Use [`nomodule` attribute](https://developer.mozilla.org/en/HTML/Element/script#Attributes) diff --git a/docs/support_table.md b/docs/support_table.md index 76ba71b4..29562362 100644 --- a/docs/support_table.md +++ b/docs/support_table.md @@ -6,7 +6,7 @@ This is a list of TeX functions, sorted alphabetically. This list includes funct If you know the shape of a character, but not its name, [Detexify](https://detexify.kirelabs.org/classify.html) can help. - +