diff --git a/README.md b/README.md
index 91a2e8c..f379868 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ Available options for `marimo-embed`:
- `height`: Named sizes (`small`, `medium`, `large`, `xlarge`, `xxlarge`) or custom pixel values (e.g. `500px`) (default: medium)
- `mode`: read, edit (default: read)
-- `app_width`: wide, full, compact (default: wide)
+- `app_width`: medium, full, compact (default: medium)
You can also embed marimo files directly:
diff --git a/docs/getting-started/blocks.md b/docs/getting-started/blocks.md
index 58202f0..92ac716 100644
--- a/docs/getting-started/blocks.md
+++ b/docs/getting-started/blocks.md
@@ -26,7 +26,7 @@ Here's a simple example of embedding a marimo notebook using blocks:
/// marimo-embed
height: 400px
mode: read
- app_width: wide
+ app_width: medium
```python
@app.cell
@@ -49,7 +49,7 @@ def __():
/// marimo-embed
height: 400px
mode: read
- app_width: wide
+ app_width: medium
```python
@app.cell
@@ -76,7 +76,7 @@ Here's an example with an interactive plot:
/// marimo-embed
height: 800px
mode: read
- app_width: wide
+ app_width: medium
```python
@app.cell
@@ -114,7 +114,7 @@ def __():
/// marimo-embed
height: 800px
mode: read
- app_width: wide
+ app_width: medium
```python
@app.cell
@@ -155,7 +155,7 @@ Here's an example that hides the code:
/// marimo-embed
height: 400px
mode: read
- app_width: wide
+ app_width: medium
include_code: false
```python
@@ -183,7 +183,7 @@ def __():
| --- | --- | --- |
| `height` | Controls the height of the embed | - Named sizes: `small` (300px), `medium` (400px), `large` (600px),
`xlarge` (800px), `xxlarge` (1000px)
- Custom size: Any pixel value (e.g. `500px`) |
| `mode` | Controls the interaction mode | - `read`: Read-only view (default)
- `edit`: Allows editing the code |
-| `app_width` | Controls the width of the marimo app | - `wide`: Standard width (default)
- `full`: Full width
- `compact`: Narrow width |
+| `app_width` | Controls the width of the marimo app | - `medium`: Standard width (default)
- `full`: Full width
- `compact`: Narrow width |
| `include_code` | Controls whether code is included in the embed | - `true`: Show code (default)
- `false`: Hide code |
### marimo-embed-file
diff --git a/docs/getting-started/quick-start.md b/docs/getting-started/quick-start.md
index 589a326..816d9bd 100644
--- a/docs/getting-started/quick-start.md
+++ b/docs/getting-started/quick-start.md
@@ -66,7 +66,7 @@ pip install pymdown-extensions
/// marimo-embed
height: 400px
mode: read
- app_width: wide
+ app_width: medium
```python
@app.cell
diff --git a/mkdocs_marimo/blocks.py b/mkdocs_marimo/blocks.py
index 70abe97..97776f4 100644
--- a/mkdocs_marimo/blocks.py
+++ b/mkdocs_marimo/blocks.py
@@ -76,7 +76,7 @@ class MarimoEmbedBlock(BaseMarimoBlock):
NAME: str = "marimo-embed"
OPTIONS: Dict[str, List[Union[str, Any]]] = {
**BaseMarimoBlock.OPTIONS,
- "app_width": ["wide", type_string_in(["wide", "full", "compact"])],
+ "app_width": ["medium", type_string_in(["medium", "full", "compact"])],
}
def on_end(self, block: etree.Element) -> None:
@@ -143,7 +143,7 @@ def uri_encode_component(code: str) -> str:
def create_marimo_app_code(
*,
code: str,
- app_width: str = "wide",
+ app_width: str = "medium",
) -> str:
header = "\n".join(
[