Live-Preview: Reference links underlined in markdown code block

Steps to reproduce

Type the following

```markdown
[^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:

Environment

SYSTEM INFO:
	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
	
RECOMMENDATIONS:
	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:
image

In live-preview mode it looks like this:
image
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.