Intended code block with `<<text` will break further code blocks

Steps to reproduce

  1. Create note with two code blocks (see attachment for full test note)
    obsidian-bugs-bash<< (290 Bytes)


cat <<EOF
Line 1
Line 2


echo test
  1. Put first code block inside quote block. Now formatting in edit mode is broken.
  2. Add any non-letter character between << and EOF e.g. <<-EOF. Now formatting should be fine.

Expected result

Intended code block with <<text shouldn’t break formatting for further code blocks inside editor mode.

Actual result

Code blocks after <<text inside quoted code block will be displayed as plain text inside editor mode, it will be fine in reading mode.


  • Operating system: Linux Manjaro
  • Debug info:
	Obsidian version: v0.15.9
	Installer version: v0.15.9
	Operating system: #1 SMP PREEMPT Thu Aug 11 13:14:01 UTC 2022 5.10.136-1-MANJARO
	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


Additional information

Tested inside sandbox vault.

1 Like

any updates on this bug?