Skip to content

Support for semantic tokens - date, person, toc, label... #819

Description

@osfprieto

As part of my work, we're trying to produce richer content on our flows. Our different layers communicate using GFM but we've had to use custom tags to communicate the semantics of some instances: Dates, Tables of contents, Mentions, Labels...

Most of these are generic enough that they can easily be considered to be supoprted within the markdown spec, especially to help produce richer content across apps.

So far we've started using custom html tags but it'd be great to have some common definition instead of relying on

Date

m-date tag with a string that can be parsed by the Date JS constructor

<m-date>YY-MM-DD</m-date>

Table of contents

m-toc tag that allows the parser to handle however it may see fit to render a table of contents.

<m-toc></m-toc>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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