From e64165828f8b92ed3cad1ba41af1eec0ce3ae900 Mon Sep 17 00:00:00 2001 From: Iisakki Rotko Date: Thu, 25 Jan 2024 16:01:20 +0100 Subject: [PATCH] docs: Mathjax -> Katex --- packages/solara-widget-manager8/package.json | 4 +--- solara/components/markdown.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/solara-widget-manager8/package.json b/packages/solara-widget-manager8/package.json index 66e6d06c6..e1efe2d71 100644 --- a/packages/solara-widget-manager8/package.json +++ b/packages/solara-widget-manager8/package.json @@ -25,9 +25,7 @@ "@lumino/signaling": "^1.4.3", "@lumino/virtualdom": "^1.8.0", "@lumino/widgets": "^1.18.0", - "@types/node": "^18.11.9", - "mathjax-full": "^3.0.0", - "mermaid": "^8.6.4", + "katex": "^0.16.09", "patch-package": "^8.0.0" }, "devDependencies": { diff --git a/solara/components/markdown.py b/solara/components/markdown.py index 9544754b4..50572b52d 100644 --- a/solara/components/markdown.py +++ b/solara/components/markdown.py @@ -286,7 +286,7 @@ def Markdown(md_text: str, unsafe_solara_execute=False, style: Union[str, Dict, Renders markdown using https://python-markdown.github.io/ - Math rendering is done using Latex syntax, using https://www.mathjax.org/. + Math rendering is done using Latex syntax, using https://katex.org/. ## Examples