Commit Graph

973 Commits

Author SHA1 Message Date
Matt Bierner
c62f59fcae Fix map func not having this bound
Fixes #132703
2021-09-09 15:03:30 -07:00
Matt Bierner
277f6ef132 Log errors when loading markdown-it plugins 2021-09-08 15:12:46 -07:00
Matt Bierner
0e52275271 Introduce WebviewOptions.forms
Fixes #132157
2021-09-02 13:24:49 -07:00
John Murray
75e1fa6c43 fix #131427 ignore extension contributions when populating Outline for markdown file (#131572) 2021-08-30 14:13:17 -07:00
Matt Bierner
28bc889cea Use ActivationFunction 2021-08-30 13:54:39 -07:00
Matt Bierner
0ec3d48b70 Use @types/vscode-notebook-renderer 2021-08-30 13:54:39 -07:00
Logan Ramos
8dbad73de5 Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos
ecc7fdac90 Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Benjamin Pasero
68daa9669e fix #131535 (#131630) 2021-08-25 10:53:38 -07:00
Matt Bierner
e56fa01346 Switch to dompurify 2021-08-18 16:54:59 -07:00
Matt Bierner
068dcfbfc8 Allow images in md by default 2021-08-18 16:54:58 -07:00
Matt Bierner
a6d26aa31c Add insane for notebook markdown rendering 2021-08-18 15:09:23 -07:00
Jean Pierre
c094fcf995 Fixes #113475 (#130815) 2021-08-16 16:47:23 -07:00
Matt Bierner
691e9cea33 Support clickable links between markdown cells
Fixes #103519
2021-08-13 14:17:10 -07:00
Logan Ramos
da7d76d2ec Update extension telemetry module 2021-08-10 12:43:41 -04:00
Logan Ramos
6aa5b9226b Update extension telemetry module 2021-08-09 13:16:08 -04:00
Matt Bierner
dc54347a27 Exclude a few extra build files from build 2021-08-05 13:32:54 -07:00
Matt Bierner
af39918361 Organize imports in md ext 2021-08-03 13:22:46 -07:00
Matt Bierner
5f45df8330 Fix formatting
Github merge UI :'(
2021-08-02 19:54:03 -07:00
Nicholas Rayburn
72d9aa625e Fix #124276 batch markdown file requests (#124545)
* fix #124276 batch markdown file requests

* cleanup and modify return type

* Revert "cleanup and modify return type"

This reverts commit 62d62b4947.

* cleanup getAllMarkdownDocuments

* fix markdown batching

* fix var not being modified
cleanup function call
remove modulo use

* don't create a new array on each iteration

Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-08-02 19:44:56 -07:00
Logan Ramos
9350fa3c9d Bump telemetry module to fix packaging 2021-08-02 14:29:37 -04:00
Logan Ramos
b7a07daa5a Fix #129727 2021-08-02 13:04:26 -04:00
Logan Ramos
87e0cb1d43 Fix #129474 2021-07-29 11:39:03 -04:00
gregvanl
91ae221db4 Settings description typos 2021-07-26 11:47:38 -07:00
Logan Ramos
c8e6d08e3a Update to the latest extension module 2021-07-26 13:44:43 -04:00
Matt Bierner
134c345351 Try adding browser specific tsconfig
Trying to add this to catch dependencies we take on node types
2021-07-22 17:00:17 -07:00
Matt Bierner
b7cba9e7d4 Don't use custom tsconfig settings for markdown ext 2021-07-22 17:00:17 -07:00
Matt Bierner
ff922dc231 Use TextDecoder instead of Buffer
Fixes #129165
2021-07-22 13:36:22 -07:00
Martin Aeschlimann
7927075f89 Merge pull request #128545 from microsoft/joh/webpack5
Adopt webpack 5
2021-07-14 22:32:54 +02:00
Matt Bierner
5b8ce768f3 Add getNonce function to generate webview nonces 2021-07-13 10:02:24 -07:00
Martin Aeschlimann
7ebe6a6054 adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
Matt Bierner
a71ebc98ff Avoid warning when acessing md setting 2021-07-07 16:58:04 -07:00
Matt Bierner
92418e0ea0 Remove usage of non-standard setImmediate
This was broken after upgrading to webpack5
2021-07-06 12:42:27 -07:00
Andrea Mah
1664732e44 separated editor scroll info by type and consume entry on access 2021-06-14 13:34:41 -06:00
Matt Bierner
bc14fe9e8d Use templates for markdown styles
These styles shouldn't be added into the notebook itself, only into the shadow dom of the markdown cells
2021-06-09 15:17:21 -07:00
Matt Bierner
39dc60dec6 Move notebook empty markdown cell logic into markdown extension 2021-06-08 13:50:10 -07:00
Matt Bierner
30ed48f190 Move notebook markdown styles and shadow root to markdown-it extension 2021-06-08 13:08:44 -07:00
Matt Bierner
0a57fd87b1 Enable math in markdown preview
Fixes #124783
2021-06-08 09:58:54 -07:00
Henning Dieterichs
ce5023b635 Merge pull request #124015 from microsoft/hediet/refactor-language-configuration
Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json
2021-06-08 16:19:10 +02:00
Matt Bierner
fd430418a0 Refine CellInfo type (#125351)
For #125269

- Rename `CellInfo` - >`OutputItem` (only internally, we also need to update the published types)
- Move `id` into `OutputItem`
- Move `element` out of `OutputItem`
- Rename `renderCell` to `renderOutputItem`
- Rename `destoryCell` to `disposeOutputItem` (`dispose` is  the term we generally use in our APIs)
2021-06-03 13:01:02 -07:00
Henning Dieterichs
feed53b813 Merge branch 'main' into hediet/refactor-language-configuration 2021-05-31 19:40:48 +02:00
rebornix
866ecdd45a Merge branch 'notebook/dev' into main 2021-05-27 14:04:55 -07:00
Matt Bierner
b8f11107f7 Use @types/vscode-webview 2021-05-27 13:41:38 -07:00
Johannes Rieken
9ef57b5c21 remove NotebookCellOutputItem#value, https://github.com/microsoft/vscode/issues/123884 2021-05-27 14:55:25 +02:00
Matt Bierner
6a12866c3e 💄 2021-05-26 12:55:32 -07:00
Ashray Jha
5eb64c54ca Modified markdown preview nested list styling (#124445)
* Modified markdown preview nested list styling

* Added proper styling to the nested list

* merge different rules into a single one
2021-05-26 09:05:35 -07:00
rebornix
473cfe28bf Revert "Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main""
This reverts commit 7c01395da1.
2021-05-25 17:49:34 -07:00
Harald Kirschner
7c01395da1 Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main"
This reverts commit 7a976501eb, reversing
changes made to 2257676834.
2021-05-25 17:19:40 -07:00
Johannes Rieken
ffd1f84ea9 rename notebookOutputRenderer to notebookRenderer, https://github.com/microsoft/vscode/issues/121819 2021-05-25 12:31:53 +02:00
Hassan Sani
dbdc7a259e added bottom spacing for table in markdown preview (#124385) 2021-05-24 12:14:01 -07:00