Skip to content

Document how to use Prism Plugins / add Prism diff-highlight pluginΒ #3318

Closed
@rrousselGit

Description

@rrousselGit

πŸ“š Documentation

Prism comes with the ability to use prism plugins to add extra functionalities – such as diff-highlight to combine the syntax highlighting of a language with the diff feature.

It is currently unclear how to enable prism plugins.

I've tried playing with swizzle to extract the code-highlighting renderer, but failed to implement this feature.

Cross-reference:

Have you read the Contributing Guidelines on issues?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThis issue is caused by an external dependency and not Docusaurus.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions