Skip to content

[IDEA] A middleground between nohighlight and default code syntax highlighting #291

@RARgames

Description

@RARgames

It probably could become a new default (breaking change) with options being:

  • nohighlight
  • common (new default) - using rehype-prism-plus/common subset
  • all (current default) - rehype-prism-plus

or for now, to avoid breaking change just add common.

Not sure how hard it would be to implement, but it seems pretty straightforward and would be great middleground between current options (#286)

These changes, if implemented should propagate to other packages such as https://github.com/uiwjs/react-md-editor

If you have some time please implement this, if you don't, but like this idea please let me know and I'll try to draft a PR on this in both repos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions