ebullient / obsidian-show-whitespace-cm6

Show leading/trailing whitespace
GNU Affero General Public License v3.0
14 stars 2 forks source link

Bug: No end-of-line (br) marker for lines that contain no spaces #83

Closed loikein closed 4 months ago

loikein commented 7 months ago

Hi, thank you very much for writing this plugin. I have been using deathau's version for years, and am so happy to see someone attempting at a modern version.

I believe this is something that English users would probably never notice, but if a line does not contain any space, then there's no br marker at the end of it. Not even an ::after pseudo-element, both in live preview mode and source mode.

Also, there seems to be no new line characters for empty lines.

I am on Obsidian 1.5.8, macOS 10.15, with all plugin (except suppress style) options set to on. Community Plugins (not BRAT) version. Screenshot:

image

With deathau's plugin, and custom CSS (that I posted here):

image