內容簡介
原生的WP-Syntax外掛程式
在顏色上使用預設的GeSHi顏色。
根據作者在其他注意事項的「進階自訂」部分的建議,
您可以透過處理wp_syntax_init_geshi鉤子(hook),並以編程方式進行配置,來自行設定GeSHi。
由於我希望能夠實現這一點,因此我決定發布這個通用的外掛程式,
供那些希望遵循這種方法配置GeSHi的使用者使用。
版本更新
1.2:在外掛程式檔案中設定關鍵字展開。使用Wp-Syntax 0.9,取決於GeSHi 1.0.7.22。
1.1:修正了readme.txt中的語法錯誤。使用Wp-Syntax 0.9,取決於GeSHi 1.0.7.22。
1.0:首個公開版本。使用Wp-Syntax 0.9,取決於GeSHi 1.0.7.22。
外掛標籤
開發者團隊
原文外掛簡介
Out of the box, WP-Syntax
colors code using the default GeSHi colors.
Per the authors advice in the ‘Advanced Customization’ section of
Other Notes,
you can configure GeSHi yourself by handling the wp_syntax_init_geshi
hook and configuring it programmatically.
Since I wanted to do just that, I decided to publish a generic plugin
for folks who wanted to configure GeSHi following this approach.
Release Notes
1.2 : Set keyword expansion in the plugin file. Uses Wp-Syntax 0.9, which depends on GeSHi 1.0.7.22.
1.1 : Fixed grammatical errors in the readme.txt. Uses Wp-Syntax 0.9, which depends on GeSHi 1.0.7.22.
1.0 : First public release. Uses Wp-Syntax 0.9, which depends on GeSHi 1.0.7.22.
