Black Friday sale is now on! 50% off Laravel: The Modular Way. Learn more

Released new Wordpress plugin WP Luminous - Syntax highlighter

David Carr

Wordpress Plugins Development

I've recently come across a fantastic accurate and powerful syntax highlighting library built in PHP, There was a request on their Github page for a Wordpress version, the author of this library doesn't develop for Wordpress so I thought I would take up the challenge and built a Wordpress version called WP Luminous.

Its super easy to use and install:

  • Upload wp-luminous folder to the /wp-content/plugins/ directory.
  • Activate the plugin through the Plugins menu in WordPress.
  • Optionall select a theme from the plugin settings page in settings/WP Luminous.
  • Place code inside <pre lang=''> </pre> blocks All languages are supported from the Luminous

Download this plugin from Wordpress at http://wordpress.org/extend/plugins/wp-luminous or search in the Wordpress admin for the plugin WP Luminous

Usage Example

Once installed and activated its very simple to use, place any code inside <pre lang=''> </pre> tags there's many languages supported, see the http://luminous.asgaard.co.uk/index.php/page For all of them.

For example entering: 

 <?php echo date('jS M Y', strtotime($date)); ?>;

would produce:

There plugin comes with a variety of themes, the theme can be selected from the plugin options page.

Download It

Download this plugin from Wordpress at http://wordpress.org/extend/plugins/wp-luminous or search in the Wordpress admin for the plugin WP Luminous

Laravel Modules Book by David Carr

Help support the blog so that I can continue creating new content!

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2022 DC Blog. All code MIT license. All rights reserved.