Contributors: kasparsd , sorincoza
Tags: code, pre, highlighting, highlight, highlighter, syntax, syntax highlighting, prettify
Requires at least: 3.0
Tested up to: 4.3
Stable tag: trunk
100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, pure awesome.
Uses the Google Code Prettify library
that is minified and properly enqueued. Plugin applies code highlighting
automatically to all <pre>
and <code>
tags on the page.
Plugin development on GitHub: github.com/kasparsd/code-prettify
Created and maintained by Kaspars Dambis. All of my open source work is available on GitHub.
Use Contact Form 7? Storage for Contact Form 7 is my commercial plugin (GPL license) for storing all form submissions in your WordPress database.
Cover photo by Yuri Samoilov
Simply upload the plugin and active it.
If you want to change the looks of the code, go to plugin's settings page in Dashboard, and select desired skin. Additionally, you can add your custom skins in the /prettify/skins
folder - the plugin will automatically recognize new skins.
None, yet.
- Syntax highlighting applied to a
<pre>
block and inline<code>
segments.
- Added support for custom skins
- Added settings page in Dashboard, where the user can select desired skin
- Update the Prettify library.
- Highlight
<code>
blocks too.
- Initial release.
Initial release.