這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Prettify For WordPress

外掛說明

Prettify is a WordPress plugin that automatically embeds the required javascript for Google Code Prettify. It also includes a preview of what your code will look like and the ability to customize the look by installing ThemeKit For WordPress. ThemeKit For WordPress is also on WordPress.org.

If you prefer you can run the plugin without ThemeKit and it will just use the default Prettify styles.

Features include:

  • ThemeKit ready.
  • Easy to use syntax and styling.
  • Same syntax highlighter as css-tricks.com.

螢幕擷圖

  • Main part of the settings screen
  • Pre tag styling options
  • Prettify embedded in a theme.

安裝方式

  1. Install Prettify For WordPress either via the WordPress.org plugin directory, or by uploading the files to your server
  2. After activating Prettify you will be able to use the default styling.
  3. If you would like the custom styler then you will also need ThemeKit For WordPress
  4. That’s it. You’re ready to go!
  5. Enjoy your syntax highlighter.

常見問題集

Nothing Yet…

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Prettify For WordPress〉的開發相關工作。

參與者

將〈Prettify For WordPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

  • Resolved issue that would cause a fatal error in prettify-wordpress.php – Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/prettify-wordpress/prettify-wordpress.php on line 42

1.0

  • Initial release