[Plugin]代码段的专项整治,包括:高亮,代码优化,去重等
Kenshin opened this issue · comments
Kenshin Wang commented
描述
由于 1.1.2.5005(及以上) 加入了词法分析引擎,所以会对源页面包含有代码段的内容进行重组,因此造成了无法高亮的问题,有需要的用户,可以安装此插件来实现高亮显示。
地址
https://simpread.ksria.cn/plugins/details/klGUASLasg
详细说明
-
动态识别当前主题,并适配当前主题的代码高亮样式。
-
代码段的代码重复显示的问题 e.g. #497
-
有多余代码行数的问题 e.g. #486
-
去掉了一些无用的
CSDN
的SVG
-
iteye.com
aotu.io
代码段有问题的情况
并增加了如下功能:
-
根据不同的主题设置不同的代码高亮色
-
针对一些极其特别的代码段,增加了 手动框选并高亮的功能 快捷键 hhh ( 三击 h 键)
适配的代码高亮类型
-
常见的一些包含代码高亮的网站,如 CSDN CNBlog 等
-
适配常见的代码高亮库,如
prettyprint
code-snippet
snippet-textonly
syntaxhighlighter
更新日志
2020/07/05 12:02:25 version 0.0.6
注意
优化 CSDN 的若干问题 插件 已被废除 ,其中的优化方案已转移到 代码段增强 也就是说之前安装两个插件,现在 只安装一个即可。
lyy commented
👍
00six commented
Kenshin Wang commented
又加了一个 👉 #682
Kenshin Wang commented
再来一个 👉 #674
Kenshin Wang commented
再来一个 👉 #729
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented
Kenshin Wang commented