Skip to content

Commit

Permalink
Refactor to update link in katex docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 18, 2024
1 parent 2cb0728 commit cd117dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/guides/math.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ console.log(

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

To get the latest link to the stylesheet, go to [`katex docs`][katex docs].
Expand Down
2 changes: 1 addition & 1 deletion packages/mdx/lib/plugin/recma-document.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export function recmaDocument(options) {
// `baseHref` at compile time here and statements are static
// strings, we can do it now.
try {
// To do: use `URL.canParse` next major.
// To do: next major: use `URL.canParse`.
// eslint-disable-next-line no-new
new URL(value)
// Fine: a full URL.
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lib": ["es2022"],
"module": "node16",
"moduleResolution": "node16",
// Needed for DocSearch for now: <https://github.com/mdx-js/mdx/issues/1776#issuecomment-2349294900>.
// To do: needed for DocSearch for now: <https://github.com/mdx-js/mdx/issues/1776#issuecomment-2349294900>.
"skipLibCheck": true,
"strict": true,
"target": "es2022"
Expand Down

0 comments on commit cd117dc

Please sign in to comment.