Steps to reproduce
- Have a bullet point list on top of your note
- Create a code block
- Write code including indented code (min. 2 levels if indention)
- On the rightmost indented code press “return”
- A dash appears
Did you follow the troubleshooting guide?
Y
Expected result
No dashes appear!
/// Example
- Bullet point
namespace bla {
class A {
int a;
};
}
/// Example End
Actual result
A dash appears in the next line of the code block!
/// Example
- Bullet point
namespace bla {
class A {
int a;
-
};
}
/// Example End
Environment
SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.8.4
Operating system: Windows 10 Enterprise 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional Information
Was also discussed in forum as “Unexpected dashes in python code blocks”, but no bug report was filed