Steps to reproduce
- Create new file
- Insert a SQL code block as below
declare a_variable varchar(10) = 'E:\'
select a_variable
- Note that syntax highlighting fails after the backslash
Did you follow the troubleshooting guide?
Y (confirmed in Sandbox vault)
Expected result
Correct syntax highlighting (T-SQL does not use a backslash as an escape symbol)Actual result
Incorrect syntax highlightingEnvironment
(Sandbox)
SYSTEM INFO:
Obsidian version: v1.3.4
Installer version: v1.1.16
Operating system: Windows 10 Enterprise 10.0.22621
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none