內容簡介
此外掛可讓您在文章中的程式碼中加入語法標註。它簡單、輕巧且非常容易使用,具有多種選項。此外掛可與編輯器一起使用,且不會破壞您的程式碼格式。此外掛使用流行的 PHP 語法標註程式庫 - GeSHi。
一些特點包括:
僅在需要時載入插件
選項只載入媒體檔案(CSS、JS 等)時,只會在需要時載入
內置掛鉤,易於自定義
許多可供選擇的選項(我敢打賭您不需要全部!)
預覽任何程式碼片段以符合您的喜好
可添加更多語言
剖析 <pre> 標籤中的程式碼、<code> 標籤或使用簡碼
剖析評論中的程式碼
編輯器按鈕添加代碼
兩種輸出方式,表格或有序列表
全域或基於語言的樣式代碼
相容 WordPress 多站台(尚未測試 WPMU)
以及更多……
聯絡方式
我在 BetterWP.net 上提供服務,您也可以在 Twitter 上關注我。
從 BetterWP.net 檢查出最新的 WordPress 技巧與點子。
語言
英語(預設)
義大利語(it_IT) - 感謝Paolo Stivanin!
請協助翻譯此外掛!
更多詳細資訊,請參閱外掛官方頁面!
外掛標籤
開發者團隊
② 後台搜尋「Better WordPress Syntax Highlighter」→ 直接安裝(推薦)
原文外掛簡介
This plugin allows you to highlight code syntax in your posts. It is simple, lightweight, and very easy to use with plenty of options to choose. This plugin works with both editors and won’t mangle your code format. This plugin utilizes the popular PHP syntax highlighting library – GeSHi.
Some Features
Load the plugin only when you need it
Option to load media files (CSS, JS, etc.) only when needed
Built-in hooks for easier customization
A lot of options to choose (I bet you don’t need them all!)
Preview any snipplet of code to match your preference
Possibility to add more languages
Parse code within
tag, tag or using shortcode
Parse code within comments
Editor button to add code
Two output methods, Table or Ordered list
Style code globally or language-based
WordPress Multi-site compatible (not tested with WPMU)
And more…
Get in touch
I’m available at BetterWP.net and you can also follow me on Twitter.
Check out latest WordPress Tips and Ideas from BetterWP.net.
Languages
English (default)
Italian (it_IT) – Thanks to Paolo Stivanin!
Please help translate this plugin!
Visit Plugin’s Official Page for more information!
延伸相關外掛
