Syntax Highlighter and Code Colorizer for WordPress
这是一个 TinyMCE 的语法高亮编辑器插件,使用 SyntaxHighlighter 语法着色引擎。
使用方法:
1. 将插件保存到 TinyMCE 的 plugins 目录
2. 配置
tinyMCE.init({ theme : "advanced", plugins : "syntaxhl", theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,styleselect,removeformat,cleanup,code, syntaxhl", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", remove_linebreaks : false, extended_valid...
相关文章:
转载请注明出处:https://www.onexin.net/wordpress/tinymce-syntaxhighlighter-plugin-for-wordpress/