Properties: Support three dots ... to terminate YAML block

Not sure if this is a Feature Request or a Bug Report.

TL:DR; Obsidian please support the full YAML specification of ... for Frontmatter block end.

The incomplete implementation can be considered a bug, because compatibility is broken.


People are collaborating on a project, mainly using Zettlr. A new user wants to contribute using Obsidian. However, Obsidian doesn’t read the (formatted to spec) YAML Frontmatter in the existing project notes, because Obsidian does not support ....

We can write a script to replace the frontmatter ends in all the notes, but removing entropy is destroying data and it feels wrong.

  1. A Frontmatter is a A YAML metadata block at the beginning of the document.
  2. A YAML metadata block is a valid YAML object, delimited by:
    • a line of three hyphens (---) at the top, and
    • a line of three hyphens (---) or three dots (...) at the bottom.
  3. In YAML syntax:
    • --- is used to separate multiple documents.
    • ... is used to indicate the end of a YAML document i.e. the Frontmatter.

Both are valid, and although the common is more common (and the only one supported by Obsidian), the latter makes more sense, for example because it is common for Pandoc use-cases to concatenate multiple input files into one output file. Zettlr does this during project exports. When hyphens are used for the start and dots for the end of the Frontmatter, it is trivial to turn a thousand concatenated notes back into separate notes, even if there is data corruption. This is a lot harder if you use hyphens for everything, even as a document separator when what you really mean is a syntactical YAML end.

Steps to reproduce

Write a note with the YAML syntax discussed above, and see that the frontmatter is not parsed.

---
date: 2024-01-20
...

# This is a frontmatter test

Did you follow the troubleshooting guide? [Y]

Expected result

A parsed frontmatter

Actual result

Text is displayed, not parsed.

Environment

SYSTEM INFO:
Obsidian version: v1.5.3
Installer version: v1.5.3
Operating system: #101-Ubuntu SMP 5.15.0-91-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Ok, I understand.
I am gonna move this to feature request.