外掛說明
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.
安裝方式
- Install Prettify For WordPress either via the WordPress.org plugin directory, or by uploading the files to your server
- After activating Prettify you will be able to use the default styling.
- If you would like the custom styler then you will also need ThemeKit For WordPress
- That’s it. You’re ready to go!
- Enjoy your syntax highlighter.
常見問題集
- Nothing Yet…
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
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