dero / code-prettify

WordPress plugin for automatic code highlighting using the Prettify library. No shortcodes, no classnames, pure awesome.

Home Page:https://wordpress.org/plugins/code-prettify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Prettify

Contributors: kasparsd
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.

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

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

Changelog

1.3.3

  • Update the Prettify library.
  • Highlight <code> blocks too.

1.0

  • Initial release.

Upgrade Notice

1.0

Initial release.

About

WordPress plugin for automatic code highlighting using the Prettify library. No shortcodes, no classnames, pure awesome.

https://wordpress.org/plugins/code-prettify


Languages

Language:JavaScript 88.6%Language:CSS 10.0%Language:PHP 1.1%Language:Shell 0.3%