Edit history

Markdown code parsing does not function has not been edited, so there are no earlier versions.

Current version | Original by hihi217
Show

Markdown code parsing does not function

Reproduction steps

  1. Go to Settings -> Design System
  2. Scroll down to Code Blocks under the Markdown section.

Observed behaviour

The JavaScript and Python code has the same color as the Plain block code. In the console, there are errors with ArboriumHighlighting failing to load grammar files for JS and Python. Note: Markdown parsing fails outside of the Design System with other languages but is easiest to reproduce with the Design System.

Build information

canary build 586 (96d2f9a), Electron 41.2.2, macOS 15.5.0 (arm64), desktop canary 0.0.122, locale en-US macOS Sequoia canary build 586 (96d2f9a), Electron 41.2.2, Linux 6.19.10-061910-generic (x64), desktop canary 0.0.122, locale en-US Kubuntu 25.10 (KDE Plasma, Wayland) canary build 586 (96d2f9a), Electron 41.2.2, Windows 11 10.0.26100 (x64), desktop canary 0.0.122, locale en-US Windows 11 24H2 canary build 586 (96d2f9a), Chrome 147.0.0.0, Android 10 (Linux armv81), locale en-US PWA (Pixel 7a running Android 16)

Platform

macOS, Windows

Evidence

screenshot with errors in console

Details

Expected behaviour The JavaScript and Python code should have colored text due to parsing.