Code HiliteMe

Beautiful code everywhere!

目前為 2017-01-06 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
smac89
評價
0 0 0
版本
0.1
建立日期
2017-01-06
更新日期
2017-01-06
尺寸
4.9 KB
授權條款
GPLv3
腳本執行於

Code hilite Me

A userscript that automatically detects when you view code in your browser, and applies syntax highlighting to the code to make it look readable. The highlighting is done using highlight.js.

Gone are the days of black and white code, now you can take that colorful look you like anywhere you go.

Installation

  • Install TamperMonkey for your browser, or any derivative of greasemonkey
  • Download the script
  • Enable and enjoy!

Future plans/maybe...

  • Strip off any get parameters to further determine if the file loaded is code
  • Ability to choose different styles rather than the default
  • Ability to choose styles based on language
  • Code formatting (Clang Format)
  • Toggle line numbers
  • Automatically detect all code snippets in html document and apply styling if not already applied
    • Don't wanna mess with people's already existing stylings
  • GUI for messing with settings