Non-breaking characters in Editor mode

Please, let Obsidian to show Non-breaking characters in Editor in order to proper indent outline notes. Right now I have to work line by line in order to get proper indentation. In long documents this is time consuming…


Thank you!

3 Likes

I am not too sure if I understand what you are saying, if it is a non-breaking space, obsidian can be displayed.

win: Ctrl+Shift+Space
mac: Option+Space

I mean showing dots, paragraph signs etc like in word

2 Likes

Hi. I have this problem as well. I would like an option to explicitly show non-printable characters like &nbsp in editor mode.

Here is another example of a document where there are a lot of hidden non-breaking spaces disrupting the flow of text, but it was not obvious why. This is just a regular well-formatted bullet list except a lot of the spaces are actually non-breaking spaces leftover from copy-pasting from a web page.

A tip for anyone else struggling with this. I was able to create a custom regex rule for the Linter plugin to convert &nbsp to spaces like this.

  • Find: \xA0 (doesn’t work with the full \xC2\xA0 but somehow it doesn’t need it)
  • Flag: gm
  • Replace: (insert space here, or escaped space if desired)
1 Like