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
Installation
Install via WordPress Admin
- Ready the zip file of the plugin
- Go to Admin > Plugins > Add New
- On the upper portion click the Upload link
- Using the file upload field, upload the plugin zip file here and activate the plugin
Install via FTP
- First unzip the plugin file
- Using FTP go to your server’s wp-content/plugins directory
- Upload the unzipped plugin here
- Once finished login into your WP Admin and go to Admin > Plugins
- Look for Prism WP and activate it
Usage
- Choose the language you want to use and appearance in Admin > Settings > Prism WP.
- Inside your post (or page) content editor, click the Text tab.
- Wrap your code inside ‘<pre><code></code></pre>’ tags.
- Example to display a PHP code:
FAQ
- How do I add syntax highlighting to my codes?
-
See Usage section.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Prism WP” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Prism WP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0 – 2013-11-21
- Initial commit.