[WordPress] 外掛分享: iG:Syntax Hiliter

首頁外掛目錄 › iG:Syntax Hiliter
WordPress 外掛 iG:Syntax Hiliter 的封面圖片
60+
安裝啟用
★★★★★
5/5 分(1 則評價)
1412 天前
最後更新
問題解決
WordPress 4.1+ PHP 7.4.0+ v5.1 上架:2013-01-28

內容簡介

iG:Syntax Hiliter 可讓您在網站上發布原始碼,並提供語法突顯和格式化效果(如同程式碼編輯器和 IDE 所示)。您可以直接從您的程式碼編輯器或 IDE 貼上原始碼,此外掛將會處理所有的程式碼顏色和格式,它使用GeSHi 函式庫執行程式碼著色,並支援超過 100 種程式設計語言。大多數常見的語言都包含在此外掛中,並且它包含 GeSHi 用於額外語言的落地式支援。

注意:為了快速顯示結果並減輕伺服器負擔,建議安裝快取外掛。這樣此外掛就不必在每次頁面載入時解析程式碼區塊。

最低系統需求

WordPress 版本 4.1 或以上
PHP 版本 7.4.0 或以上

歡迎在 Github 上進行提交請求。

Github: https://github.com/coolamit/ig-syntax-hiliter/
關於此外掛的使用和配置文檔

外掛標籤

開發者團隊

⬇ 下載最新版 (v5.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「iG:Syntax Hiliter」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

iG:Syntax Hiliter allows you to post source code to your site with syntax highlighting and formatting (as seen in code editors, IDEs). You can paste the code as is from your code editor or IDE and this plugin will take care of all the code colouring and preserve your formatting. It uses the GeSHi library to colourize your code and supports over a 100 programming languages. Most common languages are included with the plugin and it includes drop in support for more languages used by GeSHi.
NOTE : For fast results and less load on your server, you should have a cache plugin installed. That way the plugin won’t have to parse the code blocks on a post every time its loaded in browser.
Minimum Requirements

WordPress 4.1 or above
PHP 7.4.0 or above

Pull requests are welcome on Github.
Github: https://github.com/coolamit/ig-syntax-hiliter/
Documentation on plugin usage and configuration

延伸相關外掛

文章
Filter
Mastodon