Preview mode syntax highlighting discrepancies

Steps to reproduce

  1. Create a note (in preview mode)
  2. Add an asterisk syntax block and a bash syntax block (samples below)
  3. Export to PDF, or toggle editor to reading mode
; in /etc/asterisk/extensions_custom.conf:
​ [from-internal-custom]
  exten => 1234,1,NoOp(Delay)
  same  => n,Wait(2)
  same  => n,Goto(from-internal,0,1)
  same  => n,Hangup
asterisk -rx "dialplan reload"

Expected result

Expected consistent syntax highlighting across modes and export

Actual result

asterisk code block only had highlighting in preview mode – none in PDF export nor in reading mode.

bash block had inconsistencies across modes. The -rx arguments are yellow in preview mode, but white in both exported PDF and reading mode.

Environment

  • Operating system: Linux
  • Debug info:

SYSTEM INFO:
Obsidian version: v0.13.19
Installer version: v0.12.15
Login status: logged in
Catalyst license: vip
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: off
Plugins installed: 6
Plugins enabled: 0

RECOMMENDATIONS:
none

Additional information