From 2f617b7ec2ec9bf6c7408d9763d45e90e147496f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 16:39:12 +0100 Subject: [PATCH 1/2] chore(deps): bump dompurify from 3.2.5 to 3.3.2 (#11776) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index b73fed64395d..7f9b9a8df2e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8013,9 +8013,9 @@ domhandler@^5.0.2, domhandler@^5.0.3: domelementtype "^2.3.0" dompurify@^3.2.4: - version "3.2.5" - resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.2.5.tgz#11b108656a5fb72b24d916df17a1421663d7129c" - integrity sha512-mLPd29uoRe9HpvwP2TxClGQBzGXeEC/we/q+bFlmPPmj2p2Ugl3r6ATu/UU1v77DXNcehiBg9zsr1dREyA/dJQ== + version "3.3.2" + resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.3.2.tgz#58c515d0f8508b8749452a028aa589ad80b36325" + integrity sha512-6obghkliLdmKa56xdbLOpUZ43pAR6xFy1uOrxBaIDjT+yaRuuybLjGS9eVBoSR/UPU5fq3OXClEHLJNGvbxKpQ== optionalDependencies: "@types/trusted-types" "^2.0.7" From 9456b234409ce5a9ade93278df798a67197bb4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Fri, 6 Mar 2026 19:23:20 +0100 Subject: [PATCH 2/2] docs(website): change recommended syntax for math equations (#11784) --- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 ++++++++++---- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- .../markdown-features-math-equations.mdx | 14 +++++++++++--- 12 files changed, 131 insertions(+), 37 deletions(-) diff --git a/website/docs/guides/markdown-features/markdown-features-math-equations.mdx b/website/docs/guides/markdown-features/markdown-features-math-equations.mdx index 0fd9543d8ef0..ad9f4e5a4f33 100644 --- a/website/docs/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/docs/guides/markdown-features/markdown-features-math-equations.mdx @@ -35,7 +35,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -45,9 +53,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-2.x/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-2.x/guides/markdown-features/markdown-features-math-equations.mdx index cb218c280cc4..74141aa9be86 100644 --- a/website/versioned_docs/version-2.x/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-2.x/guides/markdown-features/markdown-features-math-equations.mdx @@ -31,9 +31,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x -### Blocks {#blocks} +For equation block or display mode, use ```math fenced code blocks. -For equation block or display mode, use line breaks and `$$`: +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +49,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-math-equations.mdx index efed943a5f89..04592e753881 100644 --- a/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-math-equations.mdx index efed943a5f89..04592e753881 100644 --- a/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-math-equations.mdx index 178ef2fd9a3e..838e6b467a3d 100644 --- a/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-math-equations.mdx index 178ef2fd9a3e..838e6b467a3d 100644 --- a/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-math-equations.mdx index 178ef2fd9a3e..838e6b467a3d 100644 --- a/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-math-equations.mdx index 178ef2fd9a3e..838e6b467a3d 100644 --- a/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.6.3/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.6.3/guides/markdown-features/markdown-features-math-equations.mdx index 178ef2fd9a3e..838e6b467a3d 100644 --- a/website/versioned_docs/version-3.6.3/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.6.3/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.7.0/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.7.0/guides/markdown-features/markdown-features-math-equations.mdx index 178ef2fd9a3e..838e6b467a3d 100644 --- a/website/versioned_docs/version-3.7.0/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.7.0/guides/markdown-features/markdown-features-math-equations.mdx @@ -33,7 +33,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -43,9 +51,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.8.1/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.8.1/guides/markdown-features/markdown-features-math-equations.mdx index 0fd9543d8ef0..ad9f4e5a4f33 100644 --- a/website/versioned_docs/version-3.8.1/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.8.1/guides/markdown-features/markdown-features-math-equations.mdx @@ -35,7 +35,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -45,9 +53,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +``` diff --git a/website/versioned_docs/version-3.9.2/guides/markdown-features/markdown-features-math-equations.mdx b/website/versioned_docs/version-3.9.2/guides/markdown-features/markdown-features-math-equations.mdx index 0fd9543d8ef0..ad9f4e5a4f33 100644 --- a/website/versioned_docs/version-3.9.2/guides/markdown-features/markdown-features-math-equations.mdx +++ b/website/versioned_docs/version-3.9.2/guides/markdown-features/markdown-features-math-equations.mdx @@ -35,7 +35,15 @@ Let $f\colon[a,b] \to \R$ be Riemann integrable. Let $F\colon[a,b]\to\R$ be $F(x ### Blocks {#blocks} -For equation block or display mode, use line breaks and `$$`: +For equation block or display mode, use ```math fenced code blocks. + +````latex +```math +I = \int_0^{2\pi} \sin(x)\,dx +``` +```` + +You can also use line breaks and `$$`, although this syntax relies on a [Markdown syntax extension](https://github.com/micromark/micromark-extension-math) and is less portable: ```latex $$ @@ -45,9 +53,9 @@ $$ -$$ +```math I = \int_0^{2\pi} \sin(x)\,dx -$$ +```