Currently seeking new career opportunities in web development, particularly with Laravel, Hire Me

Released new Wordpress plugin WP Luminous - Syntax highlighter

David Carr

Development Wordpress Plugins

Table of Contents

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 Your Logo Your Logo Your Logo

Become a sponsor

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

Sponsor

My Latest Book

Modular Laravel Book - Laravel: The Modular way

Learn how to build modular applications with Laravel Find out more

Subscribe to my newsletter

Subscribe and get my books and product announcements.

Learn Laravel with Laracasts

Faster Laravel Hosting

© 2006 - 2024 DC Blog. All code MIT license. All rights reserved.