@ellane@obsidianmd I’ve looked at it for 30 minutes but no luck. Working with Obsidian's Codemirror 6 is harder than I thought! I hoped to fix it with some neat Typescript and Regex, but that didn’t work.
I’ll see if I can do something helpful using only CSS.