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.

Add str in conversion to stop toml.type from being encoded and breaking markdown mode (#1666)

Dylan Madisetti36a23192d58b
diff --git a/marimo/_server/export/exporter.py b/marimo/_server/export/exporter.py
index a92c71fbf3..45a6410d94 100644
--- a/marimo/_server/export/exporter.py
+++ b/marimo/_server/export/exporter.py
@@ -183,7 +183,7 @@ class Exporter:
# as long as it isn't the default.
metadata.update(
{
- k: v
+ k: str(v)
for k, v in file_manager.app.config.asdict().items()
if k not in ignored_keys and v != _AppConfig.__dict__[k]
}