estruyf · GitHub

Is your feature request related to a problem? Please describe.
Currently, markdown files with YAML front matter can vary in structure and syntax, which may lead to inconsistencies and errors during processing.

Describe the solution you'd like

  • Make use of the content type definition, like it would be a JSON schema definition
  • Add automatic validation for the YAML section of markdown files to ensure they conform to the defined schema.

Describe alternatives you've considered

  • Manual validation through external tools.
  • Relying on user attention to syntax and structure without validation.

Additional context
This will help improve reliability, catch errors early, and ensure a consistent structure for all markdown documents using front matter in the project.

Read the original on github.com ↗