Skip to content

Instantly share code, notes, and snippets.

@yorkxin
Created September 16, 2013 06:43
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save yorkxin/6577302 to your computer and use it in GitHub Desktop.
Save yorkxin/6577302 to your computer and use it in GitHub Desktop.
HTML / Markdown filters by GitHub

html-pipeline: 把 text formatting 做成一層一層的 filter 接成 pipeline

linguist: 自動偵測一段文本或檔案的程式語言, GitHub 本身用它來偵測你專案使用的程式語言

charlock_holmes: 自動偵測文本的文字編碼,來自一個叫做 ICU 的資料庫,不知道是什麼,搜集了一堆文字編碼資訊和地區格式。

github-markdown: 實際在 GitHub 使用的 markdown compiler ,我找不到公開的 repo ,但程式碼是 MIT license ,很神秘…

github-markup: 用來把 README.md 這種檔案給 render 成 HTML

gemoji: 表情符號的 parsing 以及圖片,圖片有版權就是了

Redcarpet: 是 Markdown compiler ,是 ruby binding ,接到用 C 寫的 sundown ,所以 sundown 也可以跟別的程式語言接

pygments.rb: 程式碼上色,介接 Python 寫的 Pygments ,所以 Pygments 支援的他都支援。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment