Commit graph

44 commits

Author SHA1 Message Date
Keath Milligan
02e538218d
chore: version 1.4.2 2026-06-01 17:54:53 -05:00
Keath Milligan
b20b44f218
Fix transform & paste handling issues (#24)
* fix: extra blank lines being added to initial html transform

* fix: ignore selected texted when determining contextual heading level

* fix: ignore events already handled by another plugin

* feat(ci): add CI workflow

* chore: add package-lock.json
2026-06-01 14:15:34 -05:00
Keath Milligan
a05bdc269e
chore: cleanup openspec 2026-05-31 21:47:46 -05:00
Keath Milligan
6be4d6ec56
fix: skip reformatting when pasting in codeblock (#19)
- Add isCursorInCodeBlock() helper that detects
  fenced code blocks by scanning from line 0 to
  cursor, toggling on backtick/tilde fences
- Add early-return guard in onPaste() to bypass
  reformatting when cursor is inside a code block
- Archive openspec change proposal and update
  paste-interception spec with new requirement
2026-02-10 21:30:10 -06:00
Keath Milligan
4f539dc990
fix: update release workflow 2026-02-10 20:09:21 -06:00
Keath Milligan
c8f5c24e92
fix: accumulate heading cascade flag (#18)
- Fix appliedTransformations flag being overwritten on
  each heading iteration instead of accumulated
- Prevents double-paste when last heading needs no
  adjustment by using logical OR assignment
- Apply same fix to both contextual cascade and
  maxHeadingLevel cascade paths
- Add openspec proposal, spec, and task tracking for
  the heading cascade flag fix
- Add paste-interception spec with heading cascade
  transformation flag requirements
2026-02-10 20:04:38 -06:00
Keath Milligan
62a1893a97
build cleanup (#17)
* style: cleanup file formatting

* chore: simplify build

* chore: cleanup package.json
2026-02-10 18:31:53 -06:00
Asa Reynolds
7435a160b7
Add toggle for notifications (#15) 2026-02-10 18:13:36 -06:00
Keath Milligan
b80d494bed
fix: handle special characters in replacement strings 2025-11-25 22:08:46 -06:00
Keath Milligan
ec8685eddc
feat: add single-spacing transformer option
- Add convertToSingleSpaced setting to collapse multiple
  consecutive blank lines into single blank lines
- Add "Convert to single-spaced" toggle in settings UI
  positioned above "Remove empty lines"
- Implement conditional disabling when "Remove empty
  lines" is enabled with visual indication
- Add transformer logic that processes before empty line
  removal with optimization to skip when not needed
- Add OpenSpec documentation for markdown-transformations
  capability
- Update version to 1.3.0
2025-11-25 19:19:17 -06:00
Keath Milligan
7c4cc6dec9
chore: add openspec 2025-11-25 17:09:55 -06:00
Keath Milligan
73506e74b6
chore: bump version 2025-11-18 22:07:37 -06:00
Keath Milligan
fffeead4a8
refactor: improve empty line removal logic
- Replace placeholder approach with sliding window processing
- Add context-aware rules for table and horizontal rule preservation
- Consolidate line break handling into single processing path
- Convert preserve markers directly to empty lines
- Fix appliedTransformations tracking logic
2025-11-18 21:58:21 -06:00
Keath Milligan
2a1e1bb462
Bump version, update README screenshot 2025-08-23 18:33:28 -05:00
Keath Milligan
f659fb0144
Replacement list improvements (#11)
* Fix scrolling behavior when adding replacement items

* Improve replacement list management UX
2025-08-23 16:40:00 -05:00
Keath Milligan
0a3b45f9cd
Update version 2025-04-27 23:08:02 -05:00
Keath Milligan
6d5ab0807f
Update README 2025-04-27 23:05:47 -05:00
Keath Milligan
2447abe449
Merge pull request #9 from keathmilligan/issue/1-auto-escape-markdown
Add command to escape markdown
2025-04-27 23:01:37 -05:00
Keath Milligan
a051adefb1
Merge pull request #8 from keathmilligan/issue/7-notification-false-positives
Notification false positives
2025-04-27 23:01:20 -05:00
Keath Milligan
127266acfe
Refactor clipboard handling and enhance markdown transformation with escape option 2025-04-27 22:58:45 -05:00
Keath Milligan
63610697ed
Notification false positives
Fixes #7
2025-04-27 22:22:15 -05:00
Keath Milligan
1320ccc231
Update package version 2025-04-26 14:57:26 -05:00
Keath Milligan
1b2ec43b3e
Update manifest 2025-04-26 14:49:53 -05:00
Keath Milligan
83716e7901
Update manifest 2025-04-26 14:48:15 -05:00
Keath Milligan
e064ec61b2
Update release.yml 2025-04-26 14:31:19 -05:00
Keath Milligan
0bfadc300e
Update release.yml 2025-04-26 14:26:24 -05:00
Keath Milligan
ecffc1e750
Update release.yml 2025-04-26 14:25:45 -05:00
Keath Milligan
4c8217ace6
Update release.yml 2025-04-26 14:24:06 -05:00
Keath Milligan
c2aa482ebd
Merge pull request #6 from keathmilligan/update-readme
Update README
2025-04-26 14:16:55 -05:00
Keath Milligan
f6080102a0
Update README 2025-04-26 14:16:31 -05:00
Keath Milligan
7fa51ee4d3
Merge pull request #5 from keathmilligan/paste-override-option
Enhance paste override behavior
2025-04-26 13:43:05 -05:00
Keath Milligan
feda67ff5b
Enhance paste override behavior
Reduce confliction with other paste handlers:
- Add discrete "Reformat and Paste" command
- Don't prevent default paste behavior if no reformatting took place
2025-04-26 13:42:29 -05:00
Keath Milligan
3f1fe690d2
Merge pull request #4 from keathmilligan/notification-fix
Issue notification only when text is actually transformed
2025-04-26 10:58:54 -05:00
Keath Milligan
b200557921
Issue notification only when text is actually transformed 2025-04-26 10:57:52 -05:00
Keath Milligan
68cba39d9b
Add release workflow 2025-04-26 09:22:02 -05:00
Keath Milligan
4c36e8f48a
Use settings API to add headings
Also use sentence case in settings text
2025-04-11 18:01:39 -05:00
Keath Milligan
c4cb84e957
Update plugin description 2025-04-11 18:00:53 -05:00
Keath Milligan
81a675dfb1
Update license copyright year 2025-04-11 18:00:38 -05:00
Keath Milligan
bbe04ac12b
Refactor, add styles 2025-03-24 20:20:11 -05:00
Keath Milligan
45226a32ed
Remove debug output 2025-03-23 20:02:00 -05:00
Keath Milligan
10eb1d92c8
Fix cascade behavior 2025-03-23 17:51:58 -05:00
Keath Milligan
194d65ad3c
Update description 2025-03-22 23:35:34 -05:00
Keath Milligan
daea0944ac
Update license 2025-03-22 23:11:34 -05:00
Keath Milligan
e6d1f0c14a
Initial commit 2025-03-22 22:57:18 -05:00