plugin-icon

WP Code Highlight

作者:acalbert·
WP Code Highlight provides clean syntax highlighting and it also provides a code button.
评级
3.9/5
版本
1.2.9
活跃安装
200
最后更新
Aug 2, 2014

WP Code Highlight provides syntax highlighting of source code snippets and it is W3C valid. Wrap code blocks with <pre> and </pre> It provides a code button(HTML editor) to help you insert code in articles easily. You don’t need to specify the language since WP Code Highlight will guess, all languages are supported. You can put line numbers in your code if you need. There are 4 highlight themes, you can choose from them or display by random. It can also load wp-code-highlight.css from current wordpress theme directory. It can delete its own options, so it is also a green plugin !

Basic Usage

  1. Download and extract wp-code-highlight.zip to wp-content/plugins/
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. “Dashboard”->”Users”->”Your Profile”->”Disable the visual editor when writing”
  4. “Dashboard”->”Settings”->”WP Code Highlight”
  5. Wrap code blocks with <pre> and </pre> (It provides a code button in the HTML editor)
  6. You don’t need to specify the language since WP Code Highlight will guess, all languages are supported
  7. It can also load wp-code-highlight.css from current wordpress theme directory

More Information

For more information of this plugin, please visit: Plugin Homepage.

Related Links:

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 3.9.40
这个插件是可用的下载,适用于您的站点。