Skip to content

Commit

Permalink
Update link to KaTeX CSS in docs
Browse files Browse the repository at this point in the history
Closes GH-2341.
Closes GH-2360.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
victor23k committed Oct 10, 2023
1 parent d92128b commit 07503a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/guides/math.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const info = {
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
],
published: new Date('2021-10-06'),
modified: new Date('2022-12-14')
modified: new Date('2023-10-09')
}

# Math
Expand Down Expand Up @@ -71,8 +71,10 @@ console.log(
At the time of writing, the last version is:

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css" integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">
```

To get the latest link to the stylesheet, go to [`katex docs`][katex docs].
</Note>

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

[extend]: /docs/extending-mdx/

[katex docs]: https://katex.org/docs/browser#loading-as-global

1 comment on commit 07503a5

@vercel
Copy link

@vercel vercel bot commented on 07503a5 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mdx – ./

mdx-git-main-mdx.vercel.app
mdx-mdx.vercel.app
mdxjs.com
v2.mdxjs.com

Please sign in to comment.