This plugin hasn’t been tested with the latest 3 major releases of WordPress. 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


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:
Alt+Shift+C for Code button </>
Alt+Shift+G for PrettyPrint button {P}

Thanks to pkgw for the ground work!



[Donate]( TinyMCEPretty Code)


  • 'Code' and 'PrettyPrint' Buttons appeard in TinyMCE WYSIWYG editor


  1. Donwload, install and activate the plugin.
  2. Goto Add/Edit post or page.
  3. Select some text and click on </> button for inline code, or click on {P} button to pre-format.

Contributors & Developers

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


1.1 (20130725)

Help information updated

1.0 (20130722)

  • Initial release