Skip to content

Sync this with the one in highlight.jsΒ #1

@chenglou

Description

@chenglou

cc @gmmorris. Thanks for your work! I've tweaked the logic a bit and made sure that 99% of reason docs' snippet render correctly.

Building highlight.js master isn't always possible; case in point, reason's doc site uses Docusaurus, so highlightjs is a transitive dependency. Pinning it to master using yarn/npm wouldn't work either, because you'd get the un-built highlight.js (aka no lib/ folder).

For this reason, I've split out the highlight for easier integration and iteration. The highlightjs folks seem to want to eject the plugins too anyway.

In the meantime, we should sync up the one in the highlightjs repo with this one. Or simply remove the former. What's your opinion?

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