Skip to content

Need raw node type #20

Closed
Closed
@xiaoxinghu

Description

@xiaoxinghu

Type for Raw HTML

There's no type for raw node.

Problem

In TypeScript, when try to push raw type nodes (e.g. u('raw', 'some raw html')) on to a hast tree, you will get a complier error, because raw is not included in acceptable children types.

Expected behaviour

Should there be a Raw type declared publicly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions