Horizontal line rendered inside codeblock

Steps to reproduce

Open sandbox vault and paste the following markdown snippet. The one with markdown define as language will have the first horizontal line rendered. This happen only in Live Preview. Source Mode and Reading View is fine.

cssClass: wide-page

<the rest of your note>

cssClass: wide-page

<the rest of your note>

Did you follow the troubleshooting guide?


Expected result

Should as per second codeblock (the one with md as language, but in Live Preview the md syntax highlighting is not supported)

Actual result

As per explained above and screenshot below


	Obsidian version: v1.4.16
	Installer version: v1.4.13
	Operating system: Windows 10 Enterprise 10.0.19045
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 0
	Plugins enabled: 0


Additional information

Iā€™m not seeing this anymore in Obsidian 1.5.11.

I think it was fixed here Obsidian 1.5.8 Desktop (Public) - Obsidian.

  • Fixed Live Preview issue where tokens inside Markdown code blocks will no longer get parsed and rendered.

Thank you @ariehen

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.