エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
GitHub-style syntax highlighting with Pygments
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
GitHub-style syntax highlighting with Pygments
Update 2016: This tutorial is out-of-date. See the repository for alexpeattie.com and the associa... Update 2016: This tutorial is out-of-date. See the repository for alexpeattie.com and the associated README to see how I do it now. A few people have asked me how I do the Github-style syntax highlighting on this site. Here’s an example Ruby script with highlighting: class A < B; def self.create(object = User) object end end class Zebra; def inspect; "X#{2 + self.object_id}" end end module ABC::DE