Commit Graph

1186 Commits

Author SHA1 Message Date
Matt Bierner 42c4a17dd9 Merge pull request #240508 from notoriousmango/copy-image-handle-error
fix: use the copy command for images with CORS errors in the markdown preview
2025-03-25 13:35:14 -07:00
Matt Bierner a09b4abef2 Also update lockfile 2025-03-24 15:29:37 -07:00
Matt Bierner dd74e0494a Pick up latest md language server 2025-03-24 15:03:03 -07:00
Matt Bierner 23812e0d8f Make sure scripts in md preview are properly evaluated
Fixes #243454

This restores the previous behavior. If the default security settings are used, scripts will still block blocked by the CSP. If you fully disable the security settings, then we'll try to run them
2025-03-17 11:45:49 -07:00
Seong Min Park de60000148 Merge branch 'main' into copy-image-handle-error 2025-03-16 16:04:34 +09:00
Matt Bierner 0a66642a04 Don't duplicate body in md preview
Fixes #243340
2025-03-12 09:07:34 -07:00
Seong Min Park 2b1c717948 Merge branch 'main' into copy-image-handle-error 2025-02-25 21:35:41 +09: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
Seong Min Park 7c7d37ea8d revert markdown.trace.server 2025-02-20 22:09:42 +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
Benjamin Pasero 419e6aa2f3 debt - remove missing documentPaste proposal (#241019) 2025-02-17 17:02:04 +01:00
dependabot[bot] d37a30e600 Bump dompurify from 3.1.7 to 3.2.4 in /extensions/markdown-language-features (#240973)
Bump dompurify in /extensions/markdown-language-features

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.7 to 3.2.4.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.7...3.2.4)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 11:31:27 +01:00
notoriousmango 0928609c9b use selection to copy from web view 2025-02-12 19:09:31 +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
Matt Bierner ae715a85ad Merge pull request #238027 from HD787/unixTime
Add ${unixTime} Placeholder for markdown.copyFiles.destination Option
2025-01-21 10:29:03 -06:00
João Moreno f6ec9aa2e6 bump katex (#238271) 2025-01-20 10:39:21 +01:00
henry da45c202b2 added unix time to copyfiles for markdown 2025-01-15 22:54:34 -06:00
Matt Bierner 4daea74ba9 Finalize paste api and drop api tweaks
Fixes #30066

This finalizes the documentPaste api. This api allows extensions to attach metadata on text copy and change how content is pasted. Some examples:

- Updating imports for pasted code
- Inserting an image as an attachment in notebooks
- Pasting files converts them to relative text paths
2025-01-07 14:57:16 -08: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 b3b7f0e3ed Merge pull request #236400 from mjbvz/advanced-leopard
Add markdown validation status item
2024-12-17 11:47:13 -08:00
Matt Bierner 7cc28c3e81 Add markdown validation status item
Fixes #236399
2024-12-17 11:30:32 -08:00
Logan Ramos e689b912ba Update telemetry package (#236378) 2024-12-17 20:12:49 +01: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 002c12c922 Pick up latest markdown language server (#232634) 2024-10-30 10:34:40 -07: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
Matt Bierner 759c92ba74 Bump dompurify versions (#230250) 2024-10-18 11:53:18 -07:00
Matt Bierner 98e69ca6ea Merge branch 'main' into dev/eslint-9 2024-10-04 08:34:12 -07:00
Matt Bierner f22a1167e4 More fixes 2024-10-02 17:22:33 -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
Robo 9494a89080 chore: add npmrc to extensions folder (#230214) 2024-10-01 12:43:01 +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
Sandeep Somavarapu 841d51da29 write our own little gulp-eslint which takes the eslint from our workspace root (#230115) 2024-09-30 15:36:25 +02:00