@Moonbase59
But what exactly does it do? Are you personally using it? Could you please explain how?
I have read the guide, but I am still unsure what this feature (double-space + Enter) is supposed to do that the ordinary Enter doesn’t already.
Here is how the trailing spaces are currently treated in Obsidian and Typora:
So they don’t even do anything…
Or does it mean that both Obsidian and Typora have a bug and are not treating the trailing spaces like the Markdown standard instructs? That would speak loudly about the badness and unusefulness of this trailing space specification; the fact that nobody misses this feature enough to report and fix it.
Which is a good thing - it means that nothing stops Obsidian developers from taking the practical approach and implementing the common trimming feature.
There are different format standards/specifications, most of them having some sort of weaknesses. Markdown is no different. It is a good standard, but also has problems of its own - this double trailing space is clearly one of the design-choices-that-shouldn’t-have-happened. If anything, it sounds like a purposefully badly designed thing, a homage to the Whitespace programming language. This is terrible.
After extensive researching, I found out that:
- Most people agree that this is a bad/unnecessary specification
- The trailing space syntax is not commonly used
- Different software are not supporting it or are trimming the trailing spaces by default. Including the VSCode and JetBrains editors. And basically nobody minds.
- The whole “trailing spaces” thing in Markdown is badly specified and implemented. For example the official implementation of Markdown strips leading and trailing whitespace in code spans and people are fine with it.
- The biggest effort to unite the Markdown standard CommonMark (a standard, unambiguous syntax specification for Markdown) tells not to use the trailing spaces.
- The original description does not specify the syntax unambiguously and there have been many different implementations of Markdown. So it’s ok to make changes to Markdown to fit the unique situation (e.g. Github flavored Markdown, or the practical approach the Obsidian developers took so far - to generally embrace the Markdown, but with their own additions/removal/changes when necessary; officially removing support for the unnecessary trailing spaces syntax should be one of those).