Skip to content

[Feature]: Support highlighting in tsx code when uses @rspress/plugin-preview #1113

@PuffMeow

Description

@PuffMeow

What problem does this feature solve?

Support TSX code highlighting when uses @rspress/plugin-preview and import external component in code tag.
Like below:

<code src="./Demo/tsx" />

What does the proposed API look like?

It should be feeless.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions