Skip to content

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

Open
@PuffMeow

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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