<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>Halo - 强大易用的开源建站工具 | 应用市场 | 代码增强（高亮+折叠+长图折叠） | 版本发布</title><link>https://www.halo.run</link><atom:link href="https://www.halo.run/feed/app-store/apps/app-bmp8byio/releases.xml" rel="self" type="application/rss+xml"/><description>Halo - 强大易用的开源建站工具 | 应用市场 | 代码增强（高亮+折叠+长图折叠） | 版本发布</description><generator>Halo v2.25.0</generator><language>zh-cn</language><image><url>https://www.halo.run/upload/logo.png</url><title>Halo - 强大易用的开源建站工具 | 应用市场 | 代码增强（高亮+折叠+长图折叠） | 版本发布</title><link>https://www.halo.run</link></image><lastBuildDate>Wed, 17 Jun 2026 14:27:05 GMT</lastBuildDate><follow_challenge><feedId>69597013489248256</feedId><userId>41706424548048896</userId></follow_challenge><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.6 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-9da43eel</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.6%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-9da43eel" width="1" height="1" alt="" style="opacity:0;">
<ul>
 <li>设为最新版本</li>
</ul>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-9da43eel">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-9da43eel</guid><pubDate>Wed, 17 Jun 2026 06:39:02 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.6 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-k2ig7akt</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.6%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-k2ig7akt" width="1" height="1" alt="" style="opacity:0;">
<ul>
 <li><strong>代码审查修复</strong>：基于全面代码审查，修复以下问题</li>
 <li><strong>语法高亮保留</strong>：新增 <code>splitHtmlLines()</code> 方法，行号显示时完整保留 hljs 语法高亮结构，修复行号导致高亮失效的问题</li>
 <li><strong>Shiki 冲突检测</strong>：恢复 Shiki 高亮插件检测逻辑，当检测到 Shiki 存在时自动跳过高亮处理，避免双重样式冲突</li>
 <li><strong>初始化合并</strong>：统一 <code>observeCodeBlocks()</code> 和 <code>observeImages()</code> 调用，移除重复的模块 <code>init()</code> 调用，提升性能</li>
 <li><strong>未使用变量清理</strong>：删除 <code>pendingInit</code> 未使用变量</li>
 <li><strong>CSS :has() 兼容</strong>：使用 <code>@supports</code> 特性查询，并为不支持 :has() 的浏览器提供 CSS fallback</li>
 <li><strong>JSDoc 完善</strong>：为所有关键函数添加完整的 JSDoc 注释，提升代码可维护性</li>
 <li><strong>错误日志</strong>：添加复制按钮失败的错误日志输出</li>
</ul>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-k2ig7akt">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-k2ig7akt</guid><pubDate>Wed, 17 Jun 2026 05:40:26 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.5 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-u6hsi6d3</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.5%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-u6hsi6d3" width="1" height="1" alt="" style="opacity:0;">
<ul>
 <li><strong>开关独立</strong>：所有功能开关默认关闭，未启用的功能不再加载任何资源</li>
 <li><strong>主题兼容</strong>：通过 CSS 变量统一管理配色，修复部分主题下代码文字不可读的问题</li>
 <li><strong>移动端修复</strong>：移除 <code>touchstart</code> 绑定，避免点击双触发；底部折叠按钮严格依据状态显隐</li>
 <li><strong>代码重构</strong>：<code>applyThemeColors</code> 改为数据驱动（<code>BASE_COLORS</code>），<code>processCode</code> 拆分为 <code>ensureWrapper</code>/<code>addHeader</code> 子方法</li>
 <li><strong>观察者优化</strong>：<code>observeCodeBlocks</code> 仅在启用高亮或代码折叠时观察代码块，避免仅启用长图折叠时误装饰代码</li>
 <li><strong>配置增强</strong>：亮色/暗色主题选择器均提供完整 14 种主题选项，支持反向配色</li>
 <li><strong>日志清理</strong>：移除所有 <code>console.log</code> 调试日志，保留 <code>console.warn</code> 错误日志</li>
</ul>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-u6hsi6d3">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-u6hsi6d3</guid><pubDate>Wed, 17 Jun 2026 05:40:12 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.4 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-abkqjfmu</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.4%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-abkqjfmu" width="1" height="1" alt="" style="opacity:0;">
<ul>
 <li><strong>资源统一</strong>：统一 CSS 文件名为 <code>code-enhance.css</code>（不存在 <code>.min.css</code> 版本）</li>
 <li><strong>开关独立修复</strong>：修复未开启代码高亮只开启其他选项时，前台仍加载代码高亮资源的问题</li>
 <li><strong>条件注入优化</strong>：根据各功能开关条件性注入资源，避免加载未启用的功能模块</li>
</ul>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-abkqjfmu">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-abkqjfmu</guid><pubDate>Wed, 17 Jun 2026 05:39:44 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.3 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-jbixiwmj</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.3%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-jbixiwmj" width="1" height="1" alt="" style="opacity:0;">
<ul>
 <li><strong>配置项重命名</strong>：<code>enableCodeHighlight</code> 重命名为 <code>enableHighlight</code>，语义更简洁</li>
 <li><strong>代码重构</strong>：重构头部处理器，抽取 <code>injectResources</code>、<code>buildProperties</code>、<code>appendHljsResources</code>、<code>appendConfig</code>、<code>appendBaseResources</code> 等方法，优化模板资源注入逻辑</li>
 <li><strong>功能检查简化</strong>：新增 <code>hasAnyFeatureEnabled()</code> 方法，简化全功能禁用时的跳过判断</li>
 <li><strong>模板匹配优化</strong>：抽取 <code>hasContentVariable()</code> 方法，简化内容模板判断逻辑</li>
 <li><strong>Logo 本地化</strong>：插件 Logo 路径从外链改为本地静态资源 <code>static/images/dan.svg</code></li>
 <li><strong>类注释完善</strong>：补充 <code>CodeEnhanceHeadProcessor</code> 类注释文档</li>
 <li><strong>错误日志增强</strong>：<code>onErrorResume</code> 改为记录完整异常堆栈</li>
</ul>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-jbixiwmj">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-jbixiwmj</guid><pubDate>Wed, 17 Jun 2026 05:39:33 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.2 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-p5qdhhts</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.2%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-p5qdhhts" width="1" height="1" alt="" style="opacity:0;">
<ul>
 <li>更新静态资源引用为压缩版本 (code-enhance.min.css/js)</li>
 <li>删除未压缩的源文件 (code-enhance.css/js)</li>
</ul>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-p5qdhhts">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-p5qdhhts</guid><pubDate>Mon, 15 Jun 2026 06:18:28 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.1 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-iet35hye</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.1%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-iet35hye" width="1" height="1" alt="" style="opacity:0;">
<ul>
 <li>强化 XSS 防护：hljs 高亮流程使用 textContent 提取代码，未高亮场景下行号使用 escapeHtml() 转义</li>
 <li>修复异步竞态：Highlight.init() 异步加载时延迟启动 IntersectionObserver，避免 doHighlight 清空已装饰的行号</li>
 <li>代码审查优化：notContentTemplate 检查顺序调优，删除冗余方法，预计算选择器字符串</li>
</ul>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-iet35hye">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-iet35hye</guid><pubDate>Mon, 15 Jun 2026 06:07:37 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.1.0 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-4gb4eie8</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.1.0%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-4gb4eie8" width="1" height="1" alt="" style="opacity:0;">
<p>动态加载 highlight.min.js，仅在检测到代码块时引入资源
 <br>
 扩展模板匹配范围，支持 Moments 和 Docsme 插件页面
 <br>
 重构高亮逻辑，使用 hljs API 处理文本以防止 XSS
 <br>
 移除静态脚本标签，改为前端按需加载
 <br>
 优化触摸事件监听，添加 passive: true 提升滚动性能
 <br>
 改进代码块标题栏 DOM 构建，确保语言文本安全插入
 <br>
 调整折叠按钮样式为 sticky 定位</p>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-4gb4eie8">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-4gb4eie8</guid><pubDate>Mon, 15 Jun 2026 00:15:25 GMT</pubDate></item><item><title><![CDATA[代码增强（高亮+折叠+长图折叠） 1.0.0 发布]]></title><link>https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-jibeflg0</link><description><![CDATA[<img src="https://www.halo.run/plugins/feed/assets/telemetry.gif?title=%E4%BB%A3%E7%A0%81%E5%A2%9E%E5%BC%BA%EF%BC%88%E9%AB%98%E4%BA%AE%2B%E6%8A%98%E5%8F%A0%2B%E9%95%BF%E5%9B%BE%E6%8A%98%E5%8F%A0%EF%BC%89%201.0.0%20%E5%8F%91%E5%B8%83&amp;url=/store/apps/app-bmp8byio/releases/app-release-jibeflg0" width="1" height="1" alt="" style="opacity:0;">
<p>提供代码高亮、代码折叠、长图折叠、行号显示和标题栏等功能</p>
<hr>
<p><a href="https://www.halo.run/store/apps/app-bmp8byio/releases/app-release-jibeflg0">查看版本详情</a></p>]]></description><guid isPermaLink="false">store.halo.run/Release/app-release-jibeflg0</guid><pubDate>Sun, 14 Jun 2026 16:03:37 GMT</pubDate></item></channel></rss>