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: convert to sql toggle (#5725)

Shahmir Varqha2fcc99095316
diff --git a/frontend/src/components/editor/actions/useCellActionButton.tsx b/frontend/src/components/editor/actions/useCellActionButton.tsx
index 6911e7d466..4d331ed903 100644
--- a/frontend/src/components/editor/actions/useCellActionButton.tsx
+++ b/frontend/src/components/editor/actions/useCellActionButton.tsx
@@ -290,7 +290,7 @@ export function useCellActionButtons({ cell }: Props) {
}
maybeAddMarimoImport({ autoInstantiate, createNewCell: createCell });
switchLanguage(editorView, {
- language: "markdown",
+ language: "sql",
keepCodeAsIs: false,
});
},