Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: use <ins> and <del> for Diff output #1622

Closed
jlaundry opened this issue Aug 31, 2023 · 0 comments · Fixed by #1623
Closed

Feature request: use <ins> and <del> for Diff output #1622

jlaundry opened this issue Aug 31, 2023 · 0 comments · Fixed by #1623
Labels

Comments

@jlaundry
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The output from the Diff operation uses span classes which colour the output, but this output can be difficult to copy/paste into other applications/documents.

Describe the solution you'd like
Instead of using <span class='hl3'> and hl5, use <del> and <ins>, which are rendered with strikethrough and underline.

Describe alternatives you've considered

  • We could output the diff with Markdown, but Markdown doesn't have a defined underline
  • We could provide a dropdown for how the Diff output should be rendered, but a dropdown with 2-3 items seems overkill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant