Skip to content

Add subtypes for custom tags #12

@nstrayer

Description

@nstrayer

Currently, a custom element just comes out as a plain Tag type. For ease of typing of arguments etc for compositional APIs it would be good to add subtypes for tags so we can make them explicit children etc..

e.g.

SidebarTag = typing.NewType("SidebarTag", Tag).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions