Commit Graph

785 Commits

Author SHA1 Message Date
Matt Bierner
37cdd0eb43 Fixing errors 2026-02-12 12:43:36 -08:00
Matt Bierner
5d33f345e1 Merge branch 'main' into dev/mjbvz/legitimate-squirrel 2026-02-12 12:37:14 -08:00
Paul
12bce8da5a Agent skills management UX and file support (#287201) 2026-01-16 05:46:36 +11:00
Martin Aeschlimann
42434d7c15 Can't preview custom agents' markdown files (#286331) 2026-01-07 10:46:21 +00:00
Matt Bierner
b9c18c3652 Align markdown preview slugifier with markdown LS's slugifier
For #280520
2025-12-10 11:44:05 -08:00
Matt Bierner
c679b20148 Merge branch 'main' into dev/mjbvz/legitimate-squirrel 2025-11-17 16:32:38 -08:00
Matt Bierner
b38fb3f7f1 Don't watch non-writable fs for md preview updates
Fixes #277389
2025-11-14 10:32:54 -08:00
Matt Bierner
c47a56c7bc Adopt uuids for generating webview nonces 2025-10-29 13:53:47 -07:00
Matt Bierner
1cc342a089 Merge branch 'main' into dev/mjbvz/legitimate-squirrel 2025-10-14 23:01:21 -07:00
Matt Bierner
98ad0f55db Proper fix for missing node types in web build
Using `path` in web for these cases is ok (but not ideal) because webpack shims it out
2025-10-14 12:14:28 -07:00
Martin Aeschlimann
cf1a93be3f Markdown: Open Preview - doesn't work for *.prompt.md files (#270417) 2025-10-08 20:09:33 +00:00
Matt Bierner
a8101c12b5 Fix any cases in md extension
For #269213
2025-10-03 14:15:39 -07:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Matt Bierner
73e6d6a0a2 Enable a few more stylistic eslint options for my extensions 2025-08-14 10:42:20 -07:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Martin Aeschlimann
25a8dd4f0b enable markdown language server for prompt files (#252656) 2025-06-30 14:19:00 -07:00
Liu
e741ef491b Update copyFiles.ts 2025-06-06 02:43:21 +08:00
Matt Bierner
73f244c82b Make sure to escape cspSource
Good practice

Also makes sure we don't include full file uris in the csp
2025-05-22 00:01:01 -07:00
Matt Bierner
aa986f0d99 Include preview roots in list of allowed markdown preview csp roots
Fixes #249321
2025-05-19 16:47:17 -07:00
Seong Min Park
efe29bb57d register output channel 2025-02-21 07:29:00 +09:00
Seong Min Park
8ee87efa3f add colon 2025-02-20 22:25:56 +09:00
notoriousmango
c4f757d3ce verbose to trace 2025-02-20 18:42:41 +09:00
Seong Min Park
690caf2e14 logger 2025-02-19 22:36:54 +09:00
Matt Bierner
0252e92b01 Merge pull request #239046 from mjbvz/gross-yak
Support more image/video/audio types for markdown copy into files
2025-02-04 11:20:36 -08:00
Matt Bierner
94c2ff587a Use more clear label for markdown validation item 2025-01-29 14:13:00 -08:00
ふぁ
f07edc3dbe fix: update unix timestamp to milliseconds in copyFiles feature
Signed-off-by: ふぁ <yuki@yuki0311.com>
2025-01-29 15:35:33 +09:00
Matt Bierner
f9213d7b48 Support more image/video/audio types for markdown copy into files
Fixes #239016
2025-01-28 15:35:46 -08:00
henry
da45c202b2 added unix time to copyfiles for markdown 2025-01-15 22:54:34 -06:00
Matt Bierner
7cf9dbecf6 Fix escaping of raw values that contain & in md preview
Fixes #236660
2024-12-20 10:52:07 -08:00
Matt Bierner
d70e0e2fe0 Merge pull request #236406 from mjbvz/confidential-trout
Small cleanup follow up on #236145
2024-12-17 12:22:16 -08:00
Matt Bierner
a47b13ebc2 Small cleanup follow up on #236145
- Don't send content as json
- Reuse existing load helper
2024-12-17 11:59:05 -08:00
Matt Bierner
4559089128 Merge pull request #234649 from notoriousmango/feat-open-image
Add 'open image' context in markdown preview
2024-12-17 11:55:25 -08:00
Matt Bierner
5e26b3d7c3 Merge pull request #236145 from Parasaran-Python/235221
fix 235221: Sanitizing the html content by closing the unclosed tags
2024-12-17 11:51:22 -08:00
Matt Bierner
7cc28c3e81 Add markdown validation status item
Fixes #236399
2024-12-17 11:30:32 -08:00
Parasaran
ca72122751 fix 235221: Encode and decode markdown content to escape illegal chars 2024-12-17 23:32:42 +05:30
Parasaran
da1d8b9c8e fix 235221: Passing the markdown content to the webview via meta tag and purifying it before use 2024-12-17 22:57:12 +05:30
notoriousmango
f7c3b1b474 use openDocumentLink 2024-12-15 00:11:54 +09:00
notoriousmango
ea6463e38c rename 2024-11-27 17:25:41 +09:00
notoriousmango
0715a50f63 move openImage logic to command 2024-11-27 17:03:33 +09:00
notoriousmango
0b243279cc open image 2024-11-26 19:53:31 +09:00
Matt Bierner
fc5cff7bb6 Allow overriding how markdown links are inserted using the keybinding (#234310)
Allows using the `kind` field in the `pasteAs` keybinding to force links to be inserted a certain way, such as as images
2024-11-21 00:55:47 +01:00
Matt Bierner
c83b443da0 Clean up support for paste edits (#234240)
- Allow setting an array of preferences for paste as keybindings
- Clarifies kinds used for core and extensions
- Exports text kind as API
2024-11-20 07:14:10 +01:00
Matt Bierner
4679606b30 Don't try watching non writable file systems (#232433)
For ts and markdown, skip watching on file systems that are not writable as these files should not change
2024-10-28 11:12:01 -07:00
Johannes
1d86d98cca more test tweaks 2024-10-02 10:49:35 +02:00
Johannes
c4093a5112 tweak transpile and pasteUrl.test 2024-10-02 10:30:35 +02:00
Johannes
e6f315d2fc eng - use esModuleInterop for extensions 2024-10-01 21:57:30 +02:00
Matt Bierner
51fa4d0172 Fix more type assertions (#230156)
* Fix more type assertions

For #211878

* Fix type error
2024-09-30 14:17:06 -07:00
Matt Bierner
059d46b7ed Document markdown debug server build path (#223812)
For debugging, we may want to load the non-bundled path. Only useful when using `yarn link` for local development so just adding as comment
2024-07-25 22:36:59 -07:00
Matt Bierner
b832b859e8 Finalize markdown update links on paste setting (#221760)
Fixes #209318

Enables this new feature by default (but as an option, not the default way to paste)
2024-07-22 09:52:01 -07:00
Matt Bierner
0cba3e61b8 Align rendered header id generation with markdown language service (#221742)
Fixes #220064
2024-07-15 12:17:10 -07:00