Some more enhancements to Prism based syntax highlighting
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- css, html, javascript
- Ambito
- frontend, performance
Direzione di ricerca
Ispeziona l’artefatto Prism incluso e identifica quali linguaggi supportati vengono effettivamente utilizzati nel repository. Verifica se è possibile mantenere l’header di Prism e se l’evidenziazione della sintassi equivalente funziona nella versione e-mail della newsletter; il lavoro è completato quando il bundle è più piccolo senza perdere l’evidenziazione o l’header richiesti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Right now the bundled Prism file to support syntax highlighting (cf. #490) supports these: markup (covering html, xml, svg, mathml, ssml, atom, rss), CSS, C-like, JavaScript (js), C, C++ (cpp), Bash (sh, shell), Diff, Git, Go, JSON (webmanifest), Makefile, Perl, Python (py), Ruby (rb), and YAML (yml).
The following plugins are also bundled Autoloader and File Highlight.
I think we might be able to strip the supported languages significantly to only those that are used in the repository. This would reduce the bundle download size.
A few other things to check:
- It seems the Prism header from the artifact downloaded from the website has been removed. I think we can retain that.
- We might need to check if it is possible to achieve the same syntax highlight in the e-mail version of the newsletter @mjaix
cc @Amrit-raj50
- Lingua principale
- CSS
- Stelle
- 373
- Fork
- 325
- Merge medio
- 4g 18h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di git/git.github.io
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
git/git.github.io#860 · 7 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
git/git.github.io#864 · 4 commenti ·
-
Automatically intimate regarding [ANNOUNCE] mails in the current month edition's issue comments? Aperta
git/git.github.io#863 · 1 commento · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
git/git.github.io#830 · 4 commenti ·
-
git/git.github.io#826 · 6 commenti · 1 assegnatario ·
Tutte le issue di git/git.github.io
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
capricorn86/happy-dom#2435 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100