[WordPress] 外掛分享: PCSH (PastaCode and SyntaxHighlighter)

首頁外掛目錄 › PCSH (PastaCode and SyntaxHighlighter)
10+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
3753 天前
最後更新
問題解決
WordPress 3.1+ v0.4.2 上架:2014-11-18

內容簡介

使用基於 Pastacode 外掛的 PCSH,您可以輕鬆地在文章中加入代碼,並搭配 SyntaxHighlighter js-library,呈現絕佳的語法高亮效果。
您可以在文章編輯器中插入原始碼,或從档案或類似 GitHub、Gist、Pastebin 或 BitBucket 的網路服務載入。為避免過多的 HTTP 請求,網路服務的回應會被快取。

在升級代碼時,請勿擔心文章更新的問題!

PCSH 允許使用 SyntaxHighlighter 外掛進一步增強您的代碼片段(例如,突顯行號、連結功能等)。

已包含 8 套不同色彩風格,而您也可以自建風格。

的可用編程語言:

AppleScript
ActionScript3
Bash
CoffeeScript
C++
C#
CSS
Pascal
Diff
Erlang
Groovy
Haxe
Java
JavaFX
JavaScript
Perl
PHP
Plain
Python
Ruby
Scala
SQL
VisualBasic
XML

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.4.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「PCSH (PastaCode and SyntaxHighlighter)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

With PCSH (based on the Pastacode plugin), you can easily add code into your posts with the awesome SyntaxHighlighter js-library.
You can insert source code into the post editor, from a file, or from webservices like GitHub, Gist, Pastebin or BitBucket. Webservices responses are cached in order to avoid too many HTTP requests.
Don’t worry about posts updates while upgrading codes!
PCSH allows to enhance your snippets using SyntaxHighlighter plugins (highlightning lines, link functions…).
8 different color schemes are included, and you can build yours.
Available programming languages:

AppleScript
ActionScript3
Bash
CoffeeScript
C++
C#
CSS
Pascal
Diff
Erlang
Groovy
Haxe
Java
JavaFX
JavaScript
Perl
PHP
Plain
Python
Ruby
Scala
SQL
VisualBasic
XML

延伸相關外掛

文章
Filter
Apply Filters
Mastodon