Skip to content

Allow engines to specify default delimiters for auto-detection #72

Open
@colinbate

Description

@colinbate

Currently, language detection is supported by specifying a parameter after the opening frontmatter delimiter (---lang). It would be great if engines could also specify a default delimiter alongside the parse and stringify functions. Then if no language or delimiter was specified via options, the engine could be chosen based on the type of delimiter.

In particular, I'd like to see support for using +++ to delimit TOML frontmatter which is fairly common.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA request for new functionality.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions