Some more enhancements to Prism based syntax highlighting
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- CSS
- Estrelas
- 373
- Forks
- 325
- Merge médio
- 4d 18h
- PRs com merge (30d)
- 1
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Inspecione o artefato Prism incluído e identifique quais linguagens compatíveis são realmente usadas no repositório. Verifique se o cabeçalho do Prism pode ser mantido e se o realce de sintaxe equivalente funciona na versão por e-mail do boletim informativo; considera-se concluído quando o bundle fica menor sem perder o realce ou o cabeçalho necessários.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- css, html, javascript
- Domínio
- frontend, performance
- Tipo de issue
- Refatoração
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Ativa
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 52/100