Commit Graph
7 Commits
Author SHA1 Message Date
thzxx 5919dd9f66 feat: v0.2.5 — 内置语法高亮 + exportPDF + benchmark + CI 并行
- 新增 src/highlight.ts 零依赖轻量高亮器:13 种语言,先转义后
  着色保证安全,输出 me-hl-* 类,MeEditor.highlight 即插即用
- exportTool 新增 editor.exportPDF()(隐藏 iframe + window.print),
  exportHTML/exportPDF 共用 HTML 构建逻辑
- imagePaste 支持 maxSizeKB 限制,超限 toast 警告
- npm run bench 性能基准:parseMarkdown 1MB ≈ 51ms
- CI 测试拆分为 parser/core/rest 三个并行 job + 跨版本 verify job
- docs.html/README 补齐新 API、事件、高亮文档;取消跟踪 dist 产物;
  版本 0.2.4 → 0.2.5,测试 725 → 768
2026-08-09 08:59:55 +08:00
thzxx 6a9d6c2263 fix: CI 移除 --no-cache + 单线程,彻底解决 725 测试在弱 CPU 上超时
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (24.x) (push) Canceled after 0s
CI / test (18.x) (push) Canceled after 1h1m17s
2026-07-25 17:00:07 +08:00
thzxx 32ff342bae fix: CI 添加 15分钟超时 + 单线程测试,防止 parser 大用例集卡死
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (24.x) (push) Canceled after 0s
CI / test (18.x) (push) Canceled after 18s
2026-07-25 16:57:24 +08:00
thzxx 5184e9e8c1 chore: sync CI config with Gitea (--forceExit --no-cache, NODE_OPTIONS)
CI / test (18.x) (push) Canceled after 0s
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (24.x) (push) Canceled after 0s
2026-07-25 11:35:50 +08:00
thzxx 3febcf99df fix: reduce CI matrix to 18/22, add --forceExit to prevent test hangs
CI / test (18.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
2026-07-25 11:32:23 +08:00
thzxx c3bedcc33a chore: add Node 24 to CI matrix
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (24.x) (push) Canceled after 0s
CI / test (18.x) (push) Canceled after 0s
2026-07-25 09:55:01 +08:00
thzxx dcb31f15ec chore: rename .github to .gitea for Gitea Actions
CI / test (20.x) (push) Canceled after 0s
CI / test (22.x) (push) Canceled after 0s
CI / test (18.x) (push) Canceled after 7s
2026-07-25 09:51:35 +08:00