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.

Modify docs for readability and consistency (#5222)

GBL84f263eac07d
diff --git a/docs/guides/understanding_errors/cycles.md b/docs/guides/understanding_errors/cycles.md
index 210491c4ee..af19c7c025 100644
--- a/docs/guides/understanding_errors/cycles.md
+++ b/docs/guides/understanding_errors/cycles.md
@@ -19,16 +19,16 @@ run a cell, and cells that refer to its defined variables need to run afterward.
With a cycle, the execution order becomes ambiguous, while also introducing
an infinite loop.
-??? question **What do I get in return?**
+**What do I get in return?**
- By accepting this constraint on variables, marimo makes your notebooks:
+By accepting this constraint on variables, marimo makes your notebooks:
- - **reproducible**, with a well-defined execution order, no hidden state, and no hidden bugs;
- - **executable** as a script;
- - **interactive** with UI elements that work without callbacks;
- - **shareable as a web app**, with far better performance that streamlit.
+- **reproducible**, with a well-defined execution order, no hidden state, and no hidden bugs;
+- **executable** as a script;
+- **interactive** with UI elements that work without callbacks;
+- **shareable as a web app**, with far better performance than streamlit.
- As a bonus, you'll find that you end up with cleaner, reusable code.
+As a bonus, you'll find that you end up with cleaner, reusable code.
**How do I read the error message?** In the error message, each line says which
cell defines a variable and which cell reads a variable. For example, `cell-0
diff --git a/docs/guides/understanding_errors/import_star.md b/docs/guides/understanding_errors/import_star.md
index fab0876b5e..a5af23b19a 100644
--- a/docs/guides/understanding_errors/import_star.md
+++ b/docs/guides/understanding_errors/import_star.md
@@ -27,12 +27,13 @@ Even Python's [official style guide](https://peps.python.org/pep-0008/) discoura
> Wildcard imports (from <module> import *) should be avoided, as they make it unclear which names are present in the namespace, confusing both readers and many automated tools.
**What do I get in return?**
+
By accepting this constraint on imports, marimo makes your notebooks:
- **reproducible**, with a well-defined execution order, no hidden state, and no hidden bugs;
- **executable** as a script;
- **interactive** with UI elements that work without callbacks;
-- **shareable as a web app**, with far better performance that streamlit.
+- **shareable as a web app**, with far better performance than streamlit.
As a bonus, you'll find that you end up with cleaner, reusable code.
diff --git a/docs/guides/understanding_errors/index.md b/docs/guides/understanding_errors/index.md
index de7c2fe206..6e34b9047a 100644
--- a/docs/guides/understanding_errors/index.md
+++ b/docs/guides/understanding_errors/index.md
@@ -7,12 +7,13 @@ marimo imposes a few constraints on your notebook code:
* no `import *`: importing all symbols from a library is not allowed
!!! question "Why these constraints?"
+
These constraints let marimo work its magic, making your notebooks:
- **reproducible**, with a well-defined execution order, no hidden state, and no hidden bugs;
- **executable** as a script;
- **interactive** with UI elements that work without callbacks;
- - **shareable as a web app**, with far better performance that streamlit.
+ - **shareable as a web app**, with far better performance than streamlit.
As a bonus, you'll find that you end up with cleaner, reusable code.
diff --git a/docs/guides/understanding_errors/multiple_definitions.md b/docs/guides/understanding_errors/multiple_definitions.md
index 952b159e8d..08534f83c8 100644
--- a/docs/guides/understanding_errors/multiple_definitions.md
+++ b/docs/guides/understanding_errors/multiple_definitions.md
@@ -35,12 +35,13 @@ bugs](../coming_from/jupyter.md), and it's part of the reason why [over 96% of
Jupyter notebooks on GitHub aren't reproducible](https://leomurta.github.io/papers/pimentel2019a.pdf).
**What do I get in return?**
+
By accepting this constraint on variables, marimo makes your notebooks:
- **reproducible**, with a well-defined execution order, no hidden state, and no hidden bugs;
- **executable** as a script;
- **interactive** with UI elements that work without callbacks;
-- **shareable as a web app**, with far better performance that streamlit.
+- **shareable as a web app**, with far better performance than streamlit.
As a bonus, you'll find that you end up with cleaner, reusable code.
diff --git a/docs/guides/working_with_data/sql.md b/docs/guides/working_with_data/sql.md
index 11c0e9a6b3..e10cadf087 100644
--- a/docs/guides/working_with_data/sql.md
+++ b/docs/guides/working_with_data/sql.md
@@ -1,6 +1,6 @@
# Using SQL
-marimo lets you can mix and match **Python and SQL**: Use SQL to query
+marimo lets you mix and match **Python and SQL**: Use SQL to query
Python dataframes (or databases like SQLite and Postgres), and get
the query result back as a Python dataframe.