Skip to content

Markdown does not render in snippets #8323

@petern3

Description

@petern3

Describe the bug

Snippets that have markdown used to render the markdown cells prior to Marimo 0.16.4, but now aren't shown at all in the snippets tab. The issue is not present in the snippet description markdown cell; that is fine.

Before:

Image

After:

Image

This behaviour was introduced in 0.16.4. My best guess is that it was from this PR: #6583.

Will you submit a PR?

  • Yes

Environment

Details
  "marimo": "0.19.11",
  "editable": false,
  "location": "",
  "OS": "Windows",
  "OS Version": "11",
  "Processor": "Intel64 Family 6 Model 170 Stepping 4, GenuineIntel",
  "Python Version": "3.12.12",
  "Locale": "--",
  "Binaries": {
    "Browser": "--",
    "Node": "--",
    "uv": "0.9.5 (d5f39331a 2025-10-21)"
  },
  "Dependencies": {
    "click": "8.3.0",
    "docutils": "0.20.1",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.2",
    "markdown": "3.9",
    "narwhals": "2.10.0",
    "packaging": "25.0",
    "psutil": "7.1.1",
    "pygments": "2.19.2",
    "pymdown-extensions": "10.16.1",
    "pyyaml": "6.0.3",
    "starlette": "0.49.1",
    "tomlkit": "0.13.3",
    "typing-extensions": "4.15.0",
    "uvicorn": "0.35.0",
    "websockets": "15.0.1"
  },
  "Optional Dependencies": {
    "loro": "1.10.3",
    "pytest": "8.4.2",
    "ruff": "0.14.1"
  },
  "Experimental Flags": {}
}

Code to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions