AnsPress_Syntax_Highlighter::mce_before_init()

Method: Modify tinyMCE options so that we can add our pre tags along with language code.

AnsPress_Syntax_Highlighter

Class: The syntax highlighter class.

AnsPress_Syntax_Highlighter::init()

Method: Initialize the addon.

AnsPress_Syntax_Highlighter::scripts()

Method: Register scripts and styles.

AnsPress_Syntax_Highlighter::brush()

Method: Define all brush.

AnsPress_Syntax_Highlighter::mce_plugins()

Method: Add tinyMCE plugin.

AnsPress_Syntax_Highlighter::output_scripts()

Method: Output required scripts in footer.