Editor -- Code Syntax
Can you give more details on what you're trying to do? We made an "Insert Programming Code" button for the forum. We're still running TinyMCE 3 for the forum. So we need to upgrade to TinyMCE 4 at some point and have a look what code snippet options there are. Is what you're looking for a plugin for TinyMCE 4 that allows you to display programming code in a formatted way?
Yea, I just tried it. That's pretty much what it does. It uses this library: http://prismjs.com/
I just added "codesample" to the plugins and toolbar config lines as per the instructions here: https://www.tinymce.com/docs/plugins/codesample/ and it worked right away. Just save your wysiwyg.php as wysiwyg_custom.php to prevent it from getting overwritten when you upgrade.
Hope that helps! We'll probably switch to this plugin when we update the forum WYSIWYG.