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

Aperta
#117 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github, html
Ambito
frontend, web-dev

Direzione di ricerca

Non vengono indicati file, test o punti di ingresso dell’implementazione. Inizia tracciando il modo in cui l’estensione registra l’evidenziazione della sintassi dei textarea e le azioni del menu contestuale del browser, quindi determina come il toggle dovrebbe influire sui textarea di GitHub e come verificarne lo stato abilitato dalla pagina.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

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
Lingua principale
HTML
Stelle
58
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di diffplug/gitcasso

Tutte le issue di diffplug/gitcasso

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.