WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Preserve Code Formatting

Preserve formatting of code for display by preventing its modification by WordPress and other plugins while also retaining whitespace.

Why does my code still display all funky? (by the way, I'm using the visual editor)

The visual editor has a tendency to screw up some of your intent, especially when you are attempting to include raw code. This plugin does not make any claims about working when you create posts with the visual editor enabled.

Can I put shortcode examples within code tags and not have them be evaluated by WordPress?

Yes, shortcodes within code tags (or any tag processed by this plugin) will be output as pure text and not be processed as shortcodes by WordPress.

Does this plugin include unit tests?

Yes.

Requires: 3.6 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-12
Downloads: 16,602

Ratings

4 stars
4.8 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

67,3,2
100,1,1
100,1,1
100,1,1
50,4,2
100,1,1
100,2,2
100,1,1