Code Prettify

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

Screenshots

  • Syntax highlighting applied to a <pre> block and inline <code> segments.

Installation

Simply upload the plugin and active it. It works out of the box and doesn’t have any configuration options.

FAQ

None, yet.

Reviews

Pure awesome, indeed!

It is awesome that the plugin simply does its job without me having to mess with the standard pre and code tags.

Read all 4 reviews

Contributors & Developers

“Code Prettify” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Code Prettify” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

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.