mirror of
https://github.com/moyf/easy-copy.git
synced 2026-07-22 05:43:47 +00:00
- 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
10 lines
323 B
JSON
10 lines
323 B
JSON
{
|
|
"id": "easy-copy",
|
|
"name": "Easy Copy",
|
|
"version": "1.6.5",
|
|
"minAppVersion": "1.8.7",
|
|
"description": "Easily copy the text within inline code, bold text (and many other formats), or quickly generate an elegant link to a heading.",
|
|
"author": "Moy",
|
|
"authorUrl": "https://github.com/Moyf",
|
|
"isDesktopOnly": false
|
|
}
|