marimo-team / marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
https://marimo.io
Apache License 2.0
5.39k stars 158 forks source link

Admonition casing is o #1575

Closed akshayka closed 4 weeks ago

akshayka commented 4 weeks ago

Describe the bug

The body text of markdown admonitions is incorrectly being capitalized.

image

Above, the sentence "You should note ..." should not be in title case

Environment

{
  "marimo": "0.6.16",
  "OS": "Linux",
  "OS Version": "6.5.0-35-generic",
  "Processor": "x86_64",
  "Python Version": "3.10.12",
  "Binaries": {
    "Browser": "125.0.6422.112",
    "Node": "v18.13.0"
  },
  "Requirements": {
    "click": "8.1.7",
    "importlib-resources": "6.1.0",
    "jedi": "0.19.1",
    "markdown": "3.6",
    "pymdown-extensions": "10.8.1",
    "pygments": "2.18.0",
    "tomlkit": "0.12.5",
    "uvicorn": "0.30.0",
    "starlette": "0.37.2",
    "websockets": "12.0",
    "typing-extensions": "4.12.0",
    "black": "24.4.2"
  }
}

Code to reproduce

mo.md( rf""" !!! note You should note that the title will be automatically capitalized. """ )