Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: markdown wrapping for LaTeX (#4974)

Akshay Agrawal39c5c7b440c3
diff --git a/frontend/src/components/editor/output/Outputs.css b/frontend/src/components/editor/output/Outputs.css
index ff23ef0eff..6d2f99e4ce 100644
--- a/frontend/src/components/editor/output/Outputs.css
+++ b/frontend/src/components/editor/output/Outputs.css
@@ -46,7 +46,22 @@
> span.paragraph:not(:has(> :only-child)):not(:empty),
/* Target span.paragraph that only contains basic elements */
> span.paragraph:not(
- :has(> :not(code, a, strong, i, b, del, em, u, mark, sub, sup))
+ :has(
+ > :not(
+ code,
+ a,
+ strong,
+ i,
+ b,
+ del,
+ em,
+ u,
+ mark,
+ sub,
+ sup,
+ marimo-tex
+ )
+ )
) {
max-width: var(--markdown-max-width);
}