fix: upgrade prismjs to 1.30.0 to fix bash backslash spaces issue#1661
Open
hobostay wants to merge 57 commits intoTencent:mainfrom
Open
fix: upgrade prismjs to 1.30.0 to fix bash backslash spaces issue#1661hobostay wants to merge 57 commits intoTencent:mainfrom
hobostay wants to merge 57 commits intoTencent:mainfrom
Conversation
Updated the README to reflect changes in streaming rendering terminology and added a section on incremental rendering.
Added section on stream rendering and auto-completion features.
* feat: 添加 CNB 同步配置和工作流 * feat: 更新 README 文件以添加 CNB 云原生开发徽章 * fix: 修正 .cnb.yml 中的 secret.yml 链接格式
* ci(cnb): sync github delete branch * chore: upgrade checkout v6
* fix(ref): fix use reference after empty alt text * fix(cache): fix broken data uri after bigdata restored * fix(checkbox): fix incorrect checkbox replacement from click * fix(url): fix empty url not restored * chore: update snapshot * chore: update yarn lock * chore: add changeset Addresses image syntax issues and resolves bug Tencent#1554. --------- Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com>
* 开发环境 * 编辑文件 Dockerfile * 编辑文件 Dockerfile * chore: update vite config * chore: 增加 prettier 扩展 * chore: 增加vitest 插件 * chore: update dockerfile * chore: update cnb.yml * chore: update cnb.yml * chore: 兼容cnb访问
* ci(publish): use OIDC publish to npm * chore: 补充权限
* ci: compressed size * chore: pattern * chore: format * chore: update pattern
* feat: 优化客户端功能,增加图表、公式、拼音等功能的支持 * feat: 客户端增加左侧目录管理功能,去掉顶部菜单,增加编辑内容实时保存的机制 * fix: 删掉draw.io相关逻辑,等组件化后在构建中动态加入,从而减少开发环境的文件冗余 * fix: 打开一个新目录后,无脑把这个目录添加到目录管理列表中 * fix: 调整悬浮目录的定位,调整一些公共资源的位置 * style: 优化按钮布局 * feat: 重构文件系统权限配置,优化目录访问权限 * style: 优化代码格式,移除冗余空行和多余导入 * feat: 更新文件管理和目录管理功能,优化路径处理和状态保存 * Fix integrity hash formatting in yarn.lock * refactor: 修复代码格式错误 * feat: add global shortcut plugin and implement save shortcut * chore: update dependencies in yarn.lock * Create kind-eagles-beam.md --------- Co-authored-by: RSS1102 <jimmyrss1102@gmail.com>
* style: 增加主题和代码块主题的图标 * style: add changeset --------- Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com>
* chore(client): upgrade pinyin@4.0.0 将会移除此依赖的中的 `nodejieba`;此依赖需要 c++ 和 Python@2.x 等环境。 * chore(client): 删除拼音类型定义文件
* chore: 将 release 版本统一设置为 18.x * chore: 将 preview build Node 版本更新为 18 * chore: 将 Node.js 版本配置移至 .node-version 文件 * chore: 降版本需要升级npm * chore: add changeset 统一设置 release 版本为 18.x * Update Node version for release build to 18.x * chore: 删除无用的变更集文件 --------- Co-authored-by: liweijie <674416404@qq.com>
* 更新 pr_merge_cherry-markdown_npm-dev.yml * 更新 release-cherry-markdown-build.yaml
…Tencent#1579) * refactor(vscodePlugin): migrate build tool from webpack to rspack * refactor(vscodePlugin): update rspack configuration and build scripts * chore: 统一管理 @types/node 依赖版本 * chore: 添加 skipLibCheck 配置以优化 TypeScript 编译性能 * refactor(i18n): improve localization strings for better clarity and consistency * refactor(vscodePlugin): enhance image upload options and styles, improve localization strings * refactor(vscodePlugin): 重构状态管理和事件处理,简化代码结构 * refactor(uploadFile): 优化上传文件处理逻辑,简化代码结构和错误处理 * refactor: 移除不必要的 TypeScript 依赖,优化依赖管理 * refactor(yarn): 移除不必要的 TypeScript 版本,优化依赖管理
* ci: 优化预览 client 评论的生成逻辑 * ci: 统一 YAML 文件中的引号风格并优化构建产物信息的处理逻辑 * ci: 更新构建配置,添加目标平台和优化文件列表生成逻辑 * ci: 优化上传文件和文件列表的命名逻辑,增加对其他平台的支持
* refactor(client): 重构侧边栏管理,新增目录树和最近文件面板组件 * refactor(client): 优化最近文件管理,增强文件保存和打开功能 * refactor(client): 重构目录管理,整合目录状态管理,优化文件加载逻辑 * refactor(client): 增强文件管理功能,优化上下文菜单和最近文件处理逻辑 * refactor(client): 优化代码格式,提升可读性 * refactor(client): 重构文件管理逻辑,优化目录切换和文件操作功能 * refactor(client): 重构事件管理和文件操作逻辑,增强用户交互体验 * refactor(client): 增强用户通知系统,添加 Toast 组件并优化文件操作提示 * refactor(client): 添加版本信息显示,优化侧边栏布局 * refactor(client): 添加 ESLint 配置以支持全局变量 __APP_VERSION__ * refactor(client): 移除侧边栏窗口的标题栏样式设置
* test(AutoLink): 完善测试案例 * test: coverage * chore: update lock * test: 单测 escapePreservedSymbol * chore: 测试范围逐步增加 * test: 覆盖率提升 * refactor: 优化 AutoLink 测试用例 - 提取 createAutoLinkHook 辅助函数,减少重复代码 - 使用 describe 分组测试,提高可读性 - 使用数组解构简化测试用例代码 - 修复 isLinkInATag 正则表达式,正确处理带多个属性的 a 标签 - 修复测试用例中带额外属性的 URL 的 index 和 length 参数 - 合并重复的测试场景,从 25 个测试优化到 15 个 - 代码覆盖率保持在 86.77% --------- Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com>
* ci: 优化客户端预览构建工作流 优化 GitHub Actions 工作流配置,添加并发控制和超时设置,改进构建产物路径匹配,增强构建信息收集和 PR 评论生成逻辑。 * chore: 更新依赖并添加版本同步脚本 * ci: 优化客户端构建流程配置 * ci: 优化 PR 预览工作流产物上传和缓存配置 * ci: 更新 PR 预览构建触发条件 * ci: 移除 PR 合并工作流的分支限制 * ci: 优化 PR 预览构建评论逻辑
* feat(sidebar): 添加侧边栏列表样式和动态高度支持 * add changeset * feat(sidebar): 修复侧边栏列表高度设置,使用 setTimeout 确保正确获取高度 * feat(sidebar): 移除调试日志 * feat(sidebar): 优化侧边栏列表高度设置,使用 ResizeObserver 代替 setTimeout * fix(sidebar): 更新侧边栏高度判断逻辑,确保高度小于 40 时保持默认值 --------- Co-authored-by: Seeridia <Seeridia@gmail.com>
* fix: 移除工具栏高度动态更新逻辑,简化任务栏高度变量管理 * add changeset --------- Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com>
* feat: add stream package * docs: add docs of steam version * docs: update docs --------- Co-authored-by: sunsonliu <sunsonliu@tencent.com>
* feat: Tencent#1600 提高超大文档的性能 * feat: 优化大文档下的性能 * fix: lint
* feat: 优化右侧悬浮目录的更新机制 * fix: 修复toc目录条目只增不减的问题 * fix: 修复toc目录更新不对的问题
* feat: Tencent#1632 表格中也支持段落公式,段落公式按行内公式渲染 * fix: 修改测试用例
* feat: Tencent#1549 流式渲染场景,优化代码块自动闭合的时机并优化行内公式在表格里也可以自动闭合 * fix: 更新测试用例
Generated-By: AI
* ci: 移除 PR 预览构建的分支限制 * ci: 限制 PR 触发条件
* feat(mermaid): mermaid diagram size editing and alignment * feat(mermaid): mermaid diagram size editing and alignment * feat(mermaid): mermaid diagram size editing and alignment * fix(codeblock): 修复代码块语言解析和转义问题 * chore: add changeset --------- Co-authored-by: femeng <femeng@tencent.com> Co-authored-by: 阿菜 Cai <jimmyrss1102@gmail.com> Co-authored-by: sunsonliu <sunsonliu@tencent.com>
* fix: Tencent#1331 当使用katex渲染公式时,预览区公式操作丢失了 * fix: lint
- 新增 Suggester.spec.ts 测试文件 - 覆盖 Suggester 类核心方法 - 覆盖 SuggesterPanel 类核心方法 - 测试覆盖率从 28.89% 提升至约 55%+ 相关 Issue: Tencent#1
- 修复 initConfig 相关测试:正确传入配置到 mockCherry - 修复 afterInit 和 rule 方法测试:已通过 - 修复 toHtml 测试:调整 echo 函数测试逻辑 - 修复 onCodeMirrorChange 测试:添加 mock - 修复 onKeyDown 测试:正确配置测试环境 所有 47 个测试用例现已通过
* fix: read formula source from rendered math nodes * fix: store formula source safely on rendered math nodes * fix: 更新 test
* refactor: 优化 rollup 构建配置并增强 stream 模式预览区交互功能 (Tencent#1642) * fix(formula): 修复多余的闭括号 * chore: change changeset
* feat: 新增echarts代码块插件,支持直接渲染echarts * fix: 修复无法变更的问题 * fix: 修复无法变更的问题
Fixes Tencent#1396 升级 prismjs 从 1.24.1 到 1.30.0,修复 bash 代码块中反斜杠后面多空格的问题。 Changes: - Upgrade prismjs from ^1.24.1 to ^1.30.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 8dd9d15 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Member
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
prismjs从^1.24.1到^1.30.0Related Issue
Fixes #1396
Test plan
说明
根据 issue 评论中的建议,通过升级 prismjs 版本来解决 bash 语法高亮时反斜杠后多空格的问题。在 prismjs 官网测试页面确认新版本已修复此问题。
🤖 Generated with Claude Code