该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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