Code Prettify
Contributors: kasparsd
Tags: code, pre, highlighting, highlight, highlighter, syntax, syntax highlighting, prettify
Requires at least: 3.0
Tested up to: 4.5.2
Stable tag: trunk
100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, pure awesome.
Description
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.
Development
Plugin development on GitHub: github.com/kasparsd/code-prettify
Credits
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
Installation
Simply upload the plugin and active it. It works out of the box and doesn't have any configuration options.
Frequently Asked Questions
None, yet.
Screenshots
- Syntax highlighting applied to a
<pre>
block and inline<code>
segments.
Changelog
1.3.4
- Update the Prettify library.
- Ensure that Prettify styles are applied to the contents of
<pre>
and<code>
elements.
1.3.3
- Update the Prettify library.
- Highlight
<code>
blocks too.
1.0
- Initial release.
Upgrade Notice
1.0
Initial release.