Screen-space inefficient wrapping of links in edit mode
Steps to reproduce
original text for reproduction:
- some text
- [C:\Users\Me\Desktop\2020\this_is_some_very\long\path\My_Very_Long_File_Name.xlsx](file:///C:/Users/Me/Desktop/2020/this_is_some_very/long/path/My_Very_Long_File_Name.xlsx)
- [C:\Users\Me\Desktop\a little bit shorter path\Wraps_Correctly.xlsx](<file:///C:/Users/Me/Desktop/a little bit shorter path/Wraps_Correctly.xlsx>)
Paste the text from above to Obsidian.
Set pane widths as seen in screenshot shown under header “Actual result”.
Expected result
Wrapping immediately after list-item marker "- " is unnecessary in case like the following since the rest is wrapped again anyway.
Actual result
On Windows7 in Obsidian 0.9.11 it looks like this:
Rendered in preview mode wraps correctly but in edit mode: One line of valuable screen-space is wasted on each similar item; The list can occupy up to 50% more space when each item contains one wrap.
It seems to be imperfection/simplification in wrapping logic. Or is there any good reason to do it like this?
Environment
Operating system: Windows 7
Obsidian version: 0.9.11 (and also previous versions)
Enter a bullet point and very long line of text, for example
“- AVeryLongLineOfTextAVeryLongLineOfTextAVeryLongLineOfTextAVeryLongLineOfTextAVeryLongLineOfText”
Expected result
Line break should happen as in preview mode (include bullet point in line before break in middle of the word):
SYSTEM INFO:
Obsidian version: v0.13.17
Installer version: v0.12.19
Login status: logged in
Catalyst license: vip
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Safe mode: on
Make a long checkbox line without spaces. (Example markdown text below.)
Expected result
I would expect the text to have the same alignment as when it is a plain bullet. Plain bullets seem to render and align properly.
Actual result
If it is long enough to wrap, then the indentation becomes strange, and the line is shifted down one line below the checkbox. And the alignment of the text is shifted a bit to the right as well.