Skip to content

Serialize front matter into metadata with micromark html extension #1

@emmnull

Description

@emmnull

Front matter parsing is handled using micromark-extension-frontmatter, but serialization into a <script module> block is missing. Front matter data is traditionnally reintroduced using an mdast util, but since we are aiming to output svelte html, it seems more logical to handle it using a micromark html extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions