Steps to reproduce
- Create note with two code blocks (see attachment for full test note)
obsidian-bugs-bash<<EOF.md (290 Bytes)
1.1.
cat <<EOF
Line 1
Line 2
EOF
1.2.
echo test
- Put first code block inside quote block. Now formatting in edit mode is broken.
- Add any non-letter character between
<<
andEOF
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.
Environment
- Operating system: Linux Manjaro
- Debug info:
SYSTEM 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
RECOMMENDATIONS:
none
Additional information
Tested inside sandbox vault.