Skip to content

Allow mapping of elements to raw HTML #38

@wooorm

Description

@wooorm

Based on the reasoning here, I guess there’s a use case for people to map things that aren’t easily doable in markdown to actual HTML. We could use raw nodes for that, as used by hast-util-to-mdast. I’m not sure I’d like to include a HAST stringifier to set the value of the raw node to the stringified tree. We could at least set the hChildren on the node though.

Supersedes GH-16.

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