Some more enhancements to Prism based syntax highlighting
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- CSS
- Estrellas
- 373
- Forks
- 325
- Merge medio
- 4 d 18 h
- PR fusionados (30 d)
- 1
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Inspecciona el artefacto de Prism incluido e identifica qué idiomas compatibles se utilizan realmente en el repositorio. Comprueba si se puede conservar la cabecera de Prism y si la resaltación de sintaxis equivalente funciona en la versión por correo electrónico del boletín; se considera terminado cuando el bundle es más pequeño sin perder la resaltación ni la cabecera necesarias.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- css, html, javascript
- Área
- frontend, performance
- Tipo de issue
- Refactorización
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100