52ky 发表于 2022-4-25 17:22:34

emlog 蓝叶精简代码高亮插件

emlog 程序的代码高亮插件。 使用emlog blueleaf简化代码高亮插件可以让前置代码展示框更好看。 使用插件后,确保模板文件footer.php中有加载点 <?php doAction('index_footer'); ?> 代码,如果没有,请自行添加。 最后,在后台发布文章时,编辑器工具栏使用插入程序代码的功能,在文章页面可以看到emlog blueleaf简化代码高亮插件效果。 它与下图的效果相同。

(Highlight the plug-in code of emlog. Using emlog blueleaf to simplify the code highlighting plug-in can make the front code display box look better. After using the plug-in, make sure that the template file footer PHP has a loading point <? php doAction('index_footer'); ?>Code, if not, please add it yourself. Finally, when publishing articles in the background, the editor toolbar uses the function of inserting program code. You can see the effect of emlog blueleaf simplifying code and highlighting plug-in on the article page. It has the same effect as the figure below.)





页: [1]
查看完整版本: emlog 蓝叶精简代码高亮插件