MySQL Syntax Highlighting Not Working in Reading Mode

Steps to reproduce

  1. Create a MySQL code block.
  2. Switch from editing mode to reading mode.

Expected result

Proper MySQL syntax highlighting, as is shown in editing mode (including live preview):

Actual result

No syntax highlighting in reading mode. Note that syntax highlighting still works for other languages such as SQL.

Environment

  • Operating system: Windows 11
  • Debug info:
    • SYSTEM INFO:
      Obsidian version: v1.0.0
      Installer version: v0.14.15
      Operating system: Windows 10 Pro 10.0.22621
      Login status: not logged in
      Insider build toggle: off
      Live preview: on
      Legacy editor: off
      Base theme: light
      Community theme: none
      Snippets enabled: 0
      Restricted mode: on
    • RECOMMENDATIONS:
      none

Additional information

I noticed this bug a few days ago and prior to upgrading to v1.0.0, which hasn’t caused any noticeable change in behavior.

reader doesn’t support it. why not just use sql