Skip to content

Commit 07503a5

Browse files
authoredOct 10, 2023
Update link to KaTeX CSS in docs
Closes GH-2341. Closes GH-2360. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent d92128b commit 07503a5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎docs/guides/math.mdx

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const info = {
55
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
66
],
77
published: new Date('2021-10-06'),
8-
modified: new Date('2022-12-14')
8+
modified: new Date('2023-10-09')
99
}
1010

1111
# Math
@@ -71,8 +71,10 @@ console.log(
7171
At the time of writing, the last version is:
7272

7373
```html
74-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css" integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous">
74+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">
7575
```
76+
77+
To get the latest link to the stylesheet, go to [`katex docs`][katex docs].
7678
</Note>
7779

7880
<Note type="info">
@@ -95,3 +97,5 @@ console.log(
9597
[options-rehype-plugins]: /packages/mdx/#optionsrehypeplugins
9698

9799
[extend]: /docs/extending-mdx/
100+
101+
[katex docs]: https://katex.org/docs/browser#loading-as-global

0 commit comments

Comments
 (0)