Some more enhancements to Prism based syntax highlighting
Nessuno ha ancora preso questa issue.
- Lingua principale
- CSS
- Stelle
- 373
- Fork
- 325
- Merge medio
- 4g 18h
- PR unite (30g)
- 1
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
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.
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.
Valutazione
- Stack tecnologico
- css, html, javascript
- Ambito
- frontend, performance
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 52/100