diffplug / diffplug/gitcasso

Allow toggling syntax highlighting on/off for the page from a right click on the textarea/similar

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
58
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Sometimes I want the syntax highlighting, sometimes I would prefer it to just remain untouched; and usually the times where I want to make that decision are somewhat arbitrary and in the moment. It would be nice if I didn't have to 'reach far' to be able to toggle this; even better if it's not via the extension icon in the app bar because I already have way too many pinned open, and I would rather this 'fade into the background' except when I explicitly need it.

There's an extension called Markdown Toggle, and it seems to only show in the right-click context menu when I am clicking on a textarea or similar; but not when I right-click on a random section of the page. This feels like a nice compromise.

Potentially for GitHub textarea's in particular, there might also be an option to add a 'toggle syntax highlighting' button to the 'markdown toolbar' too:

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.