From 7ea993b8853defb3dc3564c9d69a954a643b5654 Mon Sep 17 00:00:00 2001 From: victor23k Date: Thu, 5 Oct 2023 18:43:34 +0200 Subject: [PATCH 1/3] refer to katex docs for css link --- docs/guides/math.mdx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/guides/math.mdx b/docs/guides/math.mdx index 9d99dd19c..2ca6188c0 100644 --- a/docs/guides/math.mdx +++ b/docs/guides/math.mdx @@ -68,11 +68,7 @@ console.log( **Important**: if you chose `rehype-katex`, you should also use `katex.css` somewhere on the page to style math properly. - At the time of writing, the last version is: - - ```html - - ``` + To get the latest link to the stylesheet, go to [`katex docs`][katex docs]. @@ -95,3 +91,5 @@ console.log( [options-rehype-plugins]: /packages/mdx/#optionsrehypeplugins [extend]: /docs/extending-mdx/ + +[katex docs]: https://katex.org/docs/browser#loading-as-global From 554938ca8ec81215e7779ab4e3e4b03de95b15c5 Mon Sep 17 00:00:00 2001 From: victor23k Date: Mon, 9 Oct 2023 18:40:27 +0200 Subject: [PATCH 2/3] Recover rehype-katex css link example updating the version. Update modified date of page. --- docs/guides/math.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/guides/math.mdx b/docs/guides/math.mdx index 2ca6188c0..50a429f8a 100644 --- a/docs/guides/math.mdx +++ b/docs/guides/math.mdx @@ -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 @@ -68,6 +68,11 @@ console.log( **Important**: if you chose `rehype-katex`, you should also use `katex.css` somewhere on the page to style math properly. + At the time of writing, the last version is: + ```html + + ``` + To get the latest link to the stylesheet, go to [`katex docs`][katex docs]. From 1c5d60e368286b03dbc73fc1622cfcdd85ec9543 Mon Sep 17 00:00:00 2001 From: victor23k Date: Mon, 9 Oct 2023 18:56:56 +0200 Subject: [PATCH 3/3] Add missing blank line before block --- docs/guides/math.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guides/math.mdx b/docs/guides/math.mdx index 50a429f8a..46ff6e0f4 100644 --- a/docs/guides/math.mdx +++ b/docs/guides/math.mdx @@ -69,6 +69,7 @@ console.log( **Important**: if you chose `rehype-katex`, you should also use `katex.css` somewhere on the page to style math properly. At the time of writing, the last version is: + ```html ```