Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Navayan TinyMCE Pretty Code

Adds PrettyPrint and Code buttons in TinyMCE editor to quickly mark text as code, add 'prettyprint' class in 'pre' tag.

Did you feel stressed when you have to make some text, of your WordPress post, as inline code or to add syntax highlighter class to pre-formatted text? 'Navayan TinyMCE Pretty Code' WordPress plugin will save your time and takes out this weird behavior!

It prettifies your inline code and pre-formatted text just by clicking the buttons in TinyMCE WYSIWYG editor! Now you don't need to go to 'Text' mode to find where your <code> and/or <pre> tags are.

Keyboard shortcuts:


for Code button </>


for PrettyPrint button {P}

Thanks to pkgw for the ground work!


Requires: 3.3+ or higher
Compatible up to: 3.5.2
Last Updated: 3 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

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

100,1,1 100,1,1