Version 5.11.8
Every time you hit enter it auto indents based on the indent Units. It is not possible to declare 0 auto indent unit.
Auto indent always happens and can not disable.
I think this is new behavior since it is very annoying to have to remove the auto indent every time I hit enter and surely would have noticed this before. In some circumstances those extra unwanted spaces can break technical notes.
Environment
Platform: Mac
Platform version: Tahoe 26.4
App Version: 5.11.8
How to reproduce
Create a note and hit enter and notice that there is always whitespace as the first characters. Try to reduce indent units to 0, but you can not even if you type 0 in the box.
I appreciate the help. However, i can not reasonably retrain myself to hit shift-enter for the use case of typing. I don’t understand why the default for this is application is different than every other notepad or text based application without any the ability to disable it.
I swear this has not always behaved this way and is a showstopper for me.
I think I found the disconnect/bug. I think the rouge indent is only happening for some of my technical notes. Below is an example.
If I add specific code snippets (without the code block) it will automatically indent the rest of the document, even indenting inside of code blocks. However, it doesn’t happen for every code snippet.
//no indent
this
is
a
test
//starts auto indent for rest of document
Function<String, Set<String>> foo;
this
is
a
test
Markdown supports inline HTML, so I suspect that <String, Set<String>> is recognized as an open tag. That’s why you get auto-indent here.
However, it looks like v6 (canary) doesn’t have such an issue, so it will be resolved soon.