marked-katex-extension 4.0.5 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +5 -3
  2. package/lib/index.umd.js +4 -18419
  3. package/package.json +16 -15
package/README.md CHANGED
@@ -24,9 +24,11 @@ You will still need to include the css in your html document to allow katex styl
24
24
  import {marked} from "marked";
25
25
  import markedKatex from "marked-katex-extension";
26
26
 
27
- // or UMD script
28
- // <script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js"></script>
29
- // <script src="https://cdn.jsdelivr.net/npm/marked-katex-extension/lib/index.umd.js"></script>
27
+ // or in the browser
28
+ // <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@{version}/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">
29
+ // <script defer src="https://cdn.jsdelivr.net/npm/katex@{version}/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script>
30
+ // <script src="https://cdn.jsdelivr.net/npm/marked@{version}/lib/marked.umd.js"></script>
31
+ // <script src="https://cdn.jsdelivr.net/npm/marked-katex-extension@{version}/lib/index.umd.js"></script>
30
32
 
31
33
  const options = {
32
34
  throwOnError: false