Skip to content

Commit cd117dc

Browse files
committed
Refactor to update link in katex docs
1 parent 2cb0728 commit cd117dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/guides/math.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ console.log(
7575

7676
```html
7777
<!-- Get the latest one from: https://katex.org/docs/browser -->
78-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].10/dist/katex.min.css" integrity="sha384-wcIxkf4k558AjM3Yz3BBFQUbk/zgIYC2R0QpeeYb+TwlBVMrlgLqwRjRtGZiK7ww" crossorigin="anonymous">
78+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].11/dist/katex.min.css" integrity="sha384-nB0miv6/jRmo5UMMR1wu3Gz6NLsoTkbqJghGIsx//Rlm+ZU03BU6SQNC66uf4l5+" crossorigin="anonymous">
7979
```
8080

8181
To get the latest link to the stylesheet, go to [`katex docs`][katex docs].

packages/mdx/lib/plugin/recma-document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export function recmaDocument(options) {
346346
// `baseHref` at compile time here and statements are static
347347
// strings, we can do it now.
348348
try {
349-
// To do: use `URL.canParse` next major.
349+
// To do: next major: use `URL.canParse`.
350350
// eslint-disable-next-line no-new
351351
new URL(value)
352352
// Fine: a full URL.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lib": ["es2022"],
1111
"module": "node16",
1212
"moduleResolution": "node16",
13-
// Needed for DocSearch for now: <https://github.com/mdx-js/mdx/issues/1776#issuecomment-2349294900>.
13+
// To do: needed for DocSearch for now: <https://github.com/mdx-js/mdx/issues/1776#issuecomment-2349294900>.
1414
"skipLibCheck": true,
1515
"strict": true,
1616
"target": "es2022"

0 commit comments

Comments
 (0)