百度ueditor代码高亮显示

 1 <script type="text/javascript" charset="utf-8" src="ueditor1_4_3-utf8-php/ueditor.config.js"></script>
 2    
 3     <!--加入高亮的js和css文件,如果你的编辑器和展示也是一个页面那么高亮的js可以不加载-->
 4     <script type="text/javascript" charset="utf-8" src="ueditor1_4_3-utf8-php/third-party/SyntaxHighlighter/shCore.js"></script>
 5     <link rel="stylesheet" type="text/css" href="ueditor1_4_3-utf8-php/third-party/SyntaxHighlighter/shCoreDefault.css"/>
 6 </head>
 7 
 8 <body>
 9 <script type="text/javascript">      
10 //为了在编辑器之外能展示高亮代码
11 SyntaxHighlighter.all();   
12 </script>
原文地址:https://www.cnblogs.com/mrcln/p/3837428.html