這個外掛並未在最新的 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…

評價

There are no reviews for this plugin.

貢獻者及開發者

“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