Title: Some more enhancements to Prism based syntax highlighting · Issue #862 · git/git.github.io · GitHub
Open Graph Title: Some more enhancements to Prism based syntax highlighting · Issue #862 · git/git.github.io
X Title: Some more enhancements to Prism based syntax highlighting · Issue #862 · git/git.github.io
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 (webm...
Open Graph 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), Bas...
X 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), Bas...
Opengraph URL: https://github.com/git/git.github.io/issues/862
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some more enhancements to Prism based syntax highlighting","articleBody":"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).\n\nThe following plugins are also bundled Autoloader and File Highlight. \n\nI 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. \n\nA few other things to check:\n- [ ] It seems the Prism header from the artifact downloaded from the website has been removed. I think we can retain that.\n- [ ] We might need to check if it is possible to achieve the same syntax highlight in the e-mail version of the newsletter @mjaix \n\ncc @Amrit-raj50 ","author":{"url":"https://github.com/sivaraam","@type":"Person","name":"sivaraam"},"datePublished":"2026-09-14T11:09:33Z","url":"https://github.com/git/git.github.io/issues/862"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1af5b9f7-c822-012e-df15-5247e21b9d4c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8660:1148D3:CDE17A:1081B1D:6B01033B |
| html-safe-nonce | 3306fa92d67d10df7b2aae0cc7de7e688e43213c1b3ccb3710349e9cc5c8ce4a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjYwOjExNDhEMzpDREUxN0E6MTA4MUIxRDo2QjAxMDMzQiIsInZpc2l0b3JfaWQiOiI3MTM1MjU3ODAwODkyMDIzNjExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bb8ae5a8ea546d838f197e09319b35eb058c2bb96902537af590d85fee49b5c5 |
| hovercard-subject-tag | issue:5448534511 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/git/git.github.io/862/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8737ff4bf57b94f02e366cb18798ad6de396bc3affdbf2d07ad6ee4e14f8fc48/git/git.github.io/issues/862 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8737ff4bf57b94f02e366cb18798ad6de396bc3affdbf2d07ad6ee4e14f8fc48/git/git.github.io/issues/862 |
| og:image:alt | 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), Bas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sivaraam |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/git/git.github.io git https://github.com/git/git.github.io.git |
| octolytics-dimension-user_id | 18133 |
| octolytics-dimension-user_login | git |
| octolytics-dimension-repository_id | 16789090 |
| octolytics-dimension-repository_nwo | git/git.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16789090 |
| octolytics-dimension-repository_network_root_nwo | git/git.github.io |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width