sandywp / plugins / better-wordpress-syntax-based-on-geshi

Better WordPress Syntax Highlighter

5.0 out of 5 stars. 5.0 1 reviews

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

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v1.0.6 70+ installs WP 2.8+

your-sandbox.sandywp.com/wp-admin
Better WordPress Syntax Highlighter running inside a SandyWP sandbox

What you get inside

3 screens
  • Highlight syntax using the Table output method

  • Highlight syntax using the Ordered List output method

  • Editor button to highlight a block of text

About this plugin

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!

5.0

1 reviews

  • 5 ★ 1
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.