Upgrade Katex to v0.16.7
This commit is contained in:
2
paige/node_modules/katex/contrib/mhchem/README.md
generated
vendored
2
paige/node_modules/katex/contrib/mhchem/README.md
generated
vendored
@@ -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 `<head>`. 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
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.4/dist/contrib/mhchem.min.js" integrity="sha384-RTN08a0AXIioPBcVosEqPUfKK+rPp+h1x/izR7xMkdMyuwkcZCWdxO+RSwIFtJXN" crossorigin="anonymous"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.7/dist/contrib/mhchem.min.js" integrity="sha384-ifpG+NlgMq0kvOSGqGQxW1mJKpjjMDmZdpKGq3tbvD3WPhyshCEEYClriK/wRVU0" crossorigin="anonymous"></script>
|
||||
```
|
||||
|
||||
If you remove the `defer` attribute from this tag, then you must also remove the `defer` attribute from the `<script src="https://../katex.min.js">` tag.
|
||||
|
4
paige/node_modules/katex/contrib/mhchem/mhchem.js
generated
vendored
4
paige/node_modules/katex/contrib/mhchem/mhchem.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable */
|
||||
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
|
||||
/* -*- Mode: JavaScript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
|
||||
/* vim: set ts=2 et sw=2 tw=80: */
|
||||
|
||||
/*************************************************************
|
||||
@@ -1686,7 +1686,7 @@ import katex from "katex";
|
||||
};
|
||||
|
||||
//
|
||||
// Helpers for code anaylsis
|
||||
// Helpers for code analysis
|
||||
// Will show type error at calling position
|
||||
//
|
||||
/** @param {number} a */
|
||||
|
Reference in New Issue
Block a user