Commit graph

13 commits

Author SHA1 Message Date
Moy
340122e3b2 build: 1.7.1 - add display name regex replacement, fix #37 2026-05-28 14:21:46 +08:00
Moy
620460fe5a build: 1.7.0
- Code block detection now returns innermost nested block
- Settings tab: async/await -> void in onChange handlers
- Settings tab: SettingGroup updates
- package.json: fix name field to easy-copy
2026-05-26 22:13:30 +08:00
Moy
ea87a27a88 fix: correct fenced code block detection and add unit tests
- Fix false positive when cursor is between two code blocks: the old
  upward search couldn't distinguish closing fences from opening ones
- Fix nested fence support: closing fence must be >= opening fence
  length per CommonMark spec; shorter inner fences are now treated
  as content lines
- Extract detection logic to pure function detectCodeBlockFromLines
  in src/codeBlockDetect.ts for testability
- Add 37 unit tests covering the bug scenario, nested fences,
  unclosed blocks, all CodeBlockBehavior modes, and fence-line edges
2026-05-26 21:17:59 +08:00
Moy
42b41f5df4 build: 1.6.4 2026-05-15 15:11:58 +08:00
Moy
80439dd2c2 chore: Update CHANGELOG 2026-05-15 14:26:58 +08:00
Moy
548a66e701 docs: split 1.6.3 release notes 2026-05-15 14:24:20 +08:00
Moy
7689635390 build: refresh 1.6.3 release notes 2026-05-15 14:20:14 +08:00
Moy
30a8ac63d8 build: 1.6.3 2026-05-15 13:33:22 +08:00
Moy
fd1b5eb752 chore: update CHANGELOG 2026-05-15 12:25:41 +08:00
Moy
38456ef3af build: 1.6.2 2026-05-15 11:25:16 +08:00
Moy
f59fd09cd2 docs: restructure CHANGELOG with details blocks and update release workflow for minor-series aggregation 2026-05-12 12:48:52 +08:00
Moy
d693e59061 docs: add emoji to CHANGELOG section headings 2026-05-12 12:46:38 +08:00
Moy
3418e9ae4f feat: add code block copy with configurable behavior setting
- Add CodeBlockBehavior enum: COPY_CONTENT / COPY_WITH_FENCES / GENERATE_BLOCK_LINK / DISABLED
- Add CODEBLOCK ContextType, detectCodeBlock() method in main.ts
- Code block detection runs before block ID generation (conflict resolution)
- Add Code Block settings group in settingTab.ts with dropdown
- Add CHANGELOG.md with full version history
- Update release workflow to extract notes from CHANGELOG.md
2026-05-12 12:42:27 +08:00