Some more enhancements to Prism based syntax highlighting
まだ誰も着手していません。
- 主要言語
- 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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
バンドルされた Prism アーティファクトを調査し、サポートされている言語のうち、実際にリポジトリで使用されているものを特定します。Prism ヘッダーを保持できるか、またニュースレターの e-mail 版で同等の構文ハイライトが機能するかを確認します。必要なハイライトまたはヘッダーを失わずに bundle が小さくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css, html, javascript
- 領域
- frontend, performance
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100