Skip to content

Docusaurus migration: recreate missing diff code highlighting / compare / copy feature #589

@pdaoust

Description

@pdaoust

In the current 11th-based site, code marked with diff:<lang> have both language highlighting and line-by-line diff highlighting. You can also switch between two tabs; one of which shows the diff and the other of which shows the final code with the diff applied (and the copy button only appears on the latter).

This will require an extension to be written, but I already vibe-wrote it as part of #574 (hasn't been tested though).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions