Commit Graph

1206 Commits

Author SHA1 Message Date
Matt Bierner 73e6d6a0a2 Enable a few more stylistic eslint options for my extensions 2025-08-14 10:42:20 -07:00
Matt Bierner 8f232fff89 Exclude a few more files from published extensions 2025-08-13 10:15:20 -07:00
Matt Bierner 2c749892ad Merge pull request #260466 from mjbvz/sick-marmoset
Convert esbuild scripts to modules
2025-08-07 21:57:27 -07:00
Matt Bierner 7bf1ab9dbe Also change common file extension 2025-08-07 20:07:03 -07:00
Matt Bierner f272e51947 Convert esbuild scripts to modules
Planning to convert to typescript but want to do it in a few smaller steps
2025-08-07 20:04:44 -07:00
Matt Bierner ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner 6c2cf7800e Use consistent case 2025-08-05 10:44:16 -07:00
Matt Bierner 30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Matt Bierner 4b9b99ba7a Pick up latest md language server
For #248467
2025-07-25 16:07:10 -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 39d6463003 Update package.nls.json 2025-06-20 12:01:50 +08:00
Liu 47871a8cb3 Merge branch 'main' into main 2025-06-16 02:17:50 +08:00
heoh 53a4ef7018 Fix markdown preview scroll crawls at EOF (fix #249278) 2025-06-12 03:56:11 +09:00
Liu e741ef491b Update copyFiles.ts 2025-06-06 02:43:21 +08:00
Matt Bierner 6dbeb7ba5f Merge pull request #249520 from mjbvz/western-slug
Fix sanitizer call
2025-05-22 12:53:03 -07:00
Matt Bierner b6f2887eb0 Fix sanitizer call
Fixes #247432
2025-05-22 00:23:05 -07: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 d4d2f93bf7 Pick up latest vscode-markdown-languageserver 2025-05-20 19:28:34 -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
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