Markdown code parsing does not function

(#2408) Bug Fixed desktop markdown

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.

Reproduction steps

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

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.
  • Screenshot_2026-05-04_at_1.20.34_AM.png

    Screenshot_2026-05-04_at_1.20.34_AM.png

    1602×492 | 150 kB

  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by Daffyduck
DaffyduckMod 1 vote
Can reproduce canary build 586 (96d2f9a), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.122, locale en-GB
Comment by ternera
terneraMod 1 vote
Can reproduce CR - canary build 586 (96d2f9a), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.105, locale en-US
Comment by Jiralite
JiraliteMod 1 vote
Can reproduce canary build 586 (96d2f9a), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.122, locale en-GB