git / git/git.github.io

Some more enhancements to Prism based syntax highlighting

オープン
#862 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
CSS
スター
373
フォーク
325
平均マージ
4日 18時間
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

バンドルされた Prism アーティファクトを調査し、サポートされている言語のうち、実際にリポジトリで使用されているものを特定します。Prism ヘッダーを保持できるか、またニュースレターの e-mail 版で同等の構文ハイライトが機能するかを確認します。必要なハイライトまたはヘッダーを失わずに bundle が小さくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
css, html, javascript
領域
frontend, performance
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。