This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Prism WP

Description

Beautify the source codes displayed on your site using the Prism syntax highlighter.

Languages Supported:

  • Bash
  • C
  • CoffeScript
  • C++
  • C#
  • CSS
  • Gherkin
  • Groovy
  • HTTP
  • Java
  • JavaScript
  • Markup
  • PHP
  • Python
  • Ruby
  • SCSS
  • SQL

Features:

  • Choose from 7 source code styles.
  • Line Highlight
  • Line Numbers
  • Show Invisibles
  • Autolinker
  • Webplatform Docs
  • File Highlight

Demos

Credits

License

GPLv2 or later – http://www.gnu.org/licenses/gpl-2.0.html

Screenshots

  • Settings

Installation

Install via WordPress Admin

  1. Ready the zip file of the plugin
  2. Go to Admin > Plugins > Add New
  3. On the upper portion click the Upload link
  4. Using the file upload field, upload the plugin zip file here and activate the plugin

Install via FTP

  1. First unzip the plugin file
  2. Using FTP go to your server’s wp-content/plugins directory
  3. Upload the unzipped plugin here
  4. Once finished login into your WP Admin and go to Admin > Plugins
  5. Look for Prism WP and activate it

Usage

  1. Choose the language you want to use and appearance in Admin > Settings > Prism WP.
  2. Inside your post (or page) content editor, click the Text tab.
  3. Wrap your code inside ‘<pre><code></code></pre>’ tags.
  4. Example to display a PHP code:

    

FAQ

How do I add syntax highlighting to my codes?

See Usage section.

Contributors & Developers

“Prism WP” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Prism WP” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

1.0.0 – 2013-11-21

  • Initial commit.