跳到内容

Better WordPress Syntax Highlighter

v1.0.6

Khang Minh · 2011年4月6日 上架

This plugin allows you to highlight code syntax in your posts. There are plenty of options to choose.

正在使用
60+
评分
5.0 / 5
累计下载
1.1 万
最近更新
2013年10月28日
1 条评价需要 WordPress 2.8+已测试到 3.7.41

贡献者

截图

Highlight syntax using the Table output method
Highlight syntax using the Table output method
Highlight syntax using the Ordered List output method
Highlight syntax using the Ordered List output method
Editor button to highlight a block of text
Editor button to highlight a block of text

This plugin allows you to highlight code syntax in your posts. It is simple, lightweight, and very easy to use with plenty of options to choose. This plugin works with both editors and won’t mangle your code format. This plugin utilizes the popular PHP syntax highlighting library – GeSHi.

Some Features

  • Load the plugin only when you need it
  • Option to load media files (CSS, JS, etc.) only when needed
  • Built-in hooks for easier customization
  • A lot of options to choose (I bet you don’t need them all!)
  • Preview any snipplet of code to match your preference
  • Possibility to add more languages
  • Parse code within <pre> tag, <code> tag or using shortcode
  • Parse code within comments
  • Editor button to add code
  • Two output methods, Table or Ordered list
  • Style code globally or language-based
  • WordPress Multi-site compatible (not tested with WPMU)
  • And more…

Get in touch

Languages

Please help translate this plugin!

Visit Plugin’s Official Page for more information!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums