Live-Preview: Reference links underlined in markdown code block

Steps to reproduce

Type the following

[^1] Test

Expected result

The link shouldn’t be underlined, like using source mode:

And in in reading mode:

Actual result

While editing in live-preview edit mode:

When cursor is out of the code block:


	Obsidian version: v0.13.23
	Installer version: v0.13.14
	Operating system: Windows 10 Pro 10.0.19043
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: Obsidian Nord
	Snippets enabled: 3
	Safe mode: on
	Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.

Edit: Reproduced also with default theme (keep forgetting to switch themes)
Edit2: and reproduced with snippets disabled

we don’t support this. Open a feature request.

Those are all screenshots from Obsidian. It’s a bug that in live-preview mode the [^1] is underlined.
@WhiteNoise I think you misunderstood.

In source mode the HTML for that line looks like this:

In live-preview mode it looks like this:
I’m quite sure it should not have cm-underline.

I understand that. I see a lot of other issues too. That’s because we do not officially support markdown codeblocks. I consider this not implemented. So open a FR.