Skip to content

style: hide unsupported codemirror language warning when LLM generated#8432

Merged
mscolnick merged 1 commit intomainfrom
ms/hide-unsupported-language-warning
Feb 23, 2026
Merged

style: hide unsupported codemirror language warning when LLM generated#8432
mscolnick merged 1 commit intomainfrom
ms/hide-unsupported-language-warning

Conversation

@mscolnick
Copy link
Contributor

  • Removed the static set of supported languages from the markdown renderer, just hide the warning since this may be LLM generated
  • Updated the AnyLanguageCodeMirror component to handle unsupported languages gracefully by adding a prop to hide error messages.
  • Added more fallback mappings languages in the LANGUAGE_MAP.

- Removed the static set of supported languages from the markdown renderer, just hide the warning since this may be LLM generated
- Updated the AnyLanguageCodeMirror component to handle unsupported languages gracefully by adding a prop to hide error messages.
- Added more fallback mappings languages in the LANGUAGE_MAP.
@vercel
Copy link

vercel bot commented Feb 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Feb 23, 2026 2:50pm

Request Review

@mscolnick mscolnick merged commit 730e7fb into main Feb 23, 2026
29 of 30 checks passed
@mscolnick mscolnick deleted the ms/hide-unsupported-language-warning branch February 23, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants