Skip to content

How to create a new tag? #1

@leoj3n

Description

@leoj3n

You can see my struggle here:

https://github.com/bit-docs/bit-docs-documentcss-tags/blob/master/tags/stylesheet.js

https://github.com/bit-docs/bit-docs-documentcss-tags/blob/master/tags/style.js

There doesn't seem to be much documentation about how to create a new tag, like the helper functions and stuff. Looking at the existing tags can also be confusing because they all seem to be implemented in different ways (probably different requirements, no two tags are the same).

Since there isn't really a standardized path to follow, it's difficult to infer what these new tags should be doing in their code.

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