Skip to content

YAML front matter #5

@kemayo

Description

@kemayo

There's already a fairly common metadata system for markdown files, and it's YAML front-matter. Adding a second block of metadata at the end of the document seems less ideal, compared to just incorporating it into the existing common usage.

I'd speculate that the spec chose for annotations to be appended to the end because it means that when editing the annotated text you wouldn't get stuck in a recursive loop of changing the annotation-data changing the offsets that need to be recorded within the annotation-data. Fortunately there's a simple solution to this: specify that all character-ranges are given relative to the end of the front-matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions