Some more enhancements to Prism based syntax highlighting
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- css, html, javascript
- Domain
- frontend, performance
Research direction
Inspect the bundled Prism artifact and identify which supported languages are actually used in the repository. Check whether the Prism header can be retained and whether equivalent syntax highlighting works in the e-mail version of the newsletter; done means the bundle is smaller without losing the required highlighting or header.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- CSS
- Stars
- 373
- Forks
- 325
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from git/git.github.io
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
git/git.github.io#860 · 7 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
git/git.github.io#864 · 4 comments ·
-
Automatically intimate regarding [ANNOUNCE] mails in the current month edition's issue comments? Open
git/git.github.io#863 · 1 comment · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
git/git.github.io#830 · 4 comments ·
-
git/git.github.io#826 · 6 comments · 1 assignee ·
All issues in git/git.github.io
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug ready-for-dev
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100