Matt Bierner
d850919250
Adds cancellation to md diagnostic computer ( #149122 )
...
This tracks inflight diagnostic computation and tries to cancel them if a new request comes in for the same document (usually because the document has changed or has been closed)
2022-05-09 15:42:32 -07:00
Matt Bierner
eba8ef0547
Add diagnostics for markdown links ( #148578 )
...
* Initial work on md link diagnostics
* Adding settings to enable/disable validation
* Add delay for recomputing diagnostics
* 💄
* Split test on diagnostics compute vs management
* Validate on file open
* Remove dianostics on file close
* Allow paths to folders
* Add validation configuration option
2022-05-02 16:06:00 -07:00
Matt Bierner
032ee47056
Add setting to enable/disable markdown drop into editor
...
For #142990
2022-04-05 15:42:56 -07:00
Matt Bierner
0496c2b3a7
Add basic file references provider for markdown
...
Fixes #146267
2022-04-05 11:56:40 -07:00
rebornix
024e40fb31
💄
2022-04-04 14:20:07 -07:00
rebornix
ab2a987919
fix #146750 .
2022-04-04 14:19:15 -07:00
Matt Bierner
8adb42079b
Fix slow positionAt impl for markdown references
...
- Use `vscode-languageserver-textdocument` instead of custom impl
- Reuse `InMemoryDocument` across tests and working code
- Use `SkinnyTextDocument` in more places
- Fixes some test errors that seem to be caused by bad `InMemoryDocument` impl
2022-03-29 18:19:52 -07:00
Matt Bierner
bfc026b97a
Drop into text editor api proposal ( #143334 )
...
* Add drop into editor api proposal
For #142990
* Use AsyncEmitter
2022-03-18 11:32:11 -07:00
Logan Ramos
9b7268acf9
Update telemetry module
2022-03-18 11:34:33 -04:00
Matt Bierner
78e1b3cca8
Bump highlight JS version
2022-03-08 16:27:42 -08:00
Matt Bierner
2f48496d2b
Switch the markdown preview script to use esbuild
2022-03-08 15:48:13 -08:00
Matt Bierner
79d381f1df
Use vscode-uri instead of node's path
...
This makes sure we handle other types of uris instead of assuming they are all file uris
2022-03-08 15:48:13 -08:00
rebornix
a93f7e0b23
indentation.
2022-02-16 18:05:40 -08:00
rebornix
07e840cb51
Support syntax highlighting in code blocks in markdown output
2022-02-16 15:18:54 -08:00
Matt Bierner
920a00d09d
Use markdown renderer for text/latex ( #139154 )
...
Fixes #123144
Uses the standard markdown renderer for `text/latex` outputs. This enables support for python outputs such as:
```python
%%latex
Given : $\pi = 3.14$ , $\alpha = \frac{3\pi}{4}\, rad$
```
2022-01-19 13:26:52 -08:00
Logan Ramos
b22ee20028
Move to @vscode/extension-telemetry
2022-01-19 15:57:17 -05:00
dependabot[bot]
2fcbbdc3c8
Bump markdown-it in /extensions/markdown-language-features ( #140598 )
...
Bumps [markdown-it](https://github.com/markdown-it/markdown-it ) from 12.2.0 to 12.3.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases )
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md )
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.2.0...12.3.2 )
---
updated-dependencies:
- dependency-name: markdown-it
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 17:04:53 -08:00
Matt Bierner
a4e529c759
Add basic markdown link completions
...
For #140602
Only normal links for now. Will add reference links later. Should support the forms:
- `[](dir/file.md)`
- `[](./dir/file.md)`
- `[](/root-dir/file.md)`
- `[](#header)`
- `[](./dir/file.md#header)`
2022-01-12 18:13:21 -08:00
Logan Ramos
932ab8e485
Update vscode extension telemetry modules
2021-12-28 11:06:48 -05:00
Kaan Genç
ab2b080715
hasCustomMarkdownPreview disables markdown preview buttons in context menus ( #139241 )
2021-12-15 14:19:39 -08:00
Johannes Rieken
09c9d4c293
use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165
2021-11-12 11:05:57 +01:00
Logan Ramos
00de6a5f2f
Update telemetry module
2021-11-08 10:00:44 -05:00
Matt Bierner
1051cf402e
Unmark preview as experimental
...
Fixes #84520
Seems to be working well enough now to officially support
2021-11-04 17:30:00 -07:00
Kaan Genç
1aa9a712d1
Allow extensions to disable built-in markdown preview button ( #136273 )
...
* Allow extensions to disable built-in markdown preview button
Adds a flag for the "Open Preview to the Side" button displayed for markdown files. This makes it possible for extensions to hide this button when desired by setting the flag to true. For example, extensions can now use the following line to disable the preview button:
```js
vscode.commands.executeCommand("setContext", "hasCustomMarkdownView", true);
```
* update keyword for disabling default markdown preview
2021-11-03 14:49:44 -07:00
Matt Bierner
8f672cac62
Use morphdom to reduce number of full page updates to md preview
...
This should help improve scroll sync and also reduce the number of times we go out to the network if images are in the preview
2021-11-01 15:33:00 -07:00
Lemmingh
d3ceb35bec
Add source map for every possible element in the Markdown preview ( #134799 )
...
* Update markdown-it and type definitions
* Refresh the source map mechanism in `markdownEngine.ts`
2021-10-12 16:25:56 -07:00
Logan Ramos
a4342f3add
Bump telemetry module
2021-10-01 16:52:56 -04:00
Don Jayamanne
d2c7e3d06f
Remove built-in latext output rendering in nb
2021-09-29 16:02:47 -07:00
Alex Dima
bfc02befad
Revert "Update highlightjs"
...
This reverts commit 436f9d38b0 .
2021-09-28 00:59:21 +02:00
Matt Bierner
436f9d38b0
Update highlightjs
2021-09-27 15:43:26 -07:00
Don Jayamanne
cb70ab5526
Merge pull request #133464 from DonJayamanne/textLatex
2021-09-23 15:13:16 -07:00
Logan Ramos
282f499c22
Update extension telemetry module
2021-09-23 11:26:57 -04:00
Don Jayamanne
1e5e3642b2
Misc
2021-09-22 13:16:37 -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
Matt Bierner
e56fa01346
Switch to dompurify
2021-08-18 16:54:59 -07:00
Matt Bierner
a6d26aa31c
Add insane for notebook markdown rendering
2021-08-18 15:09:23 -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
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
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
Martin Aeschlimann
7ebe6a6054
adopt web extensions to webpack 5
2021-07-08 21:41:03 +02:00
Matt Bierner
0a57fd87b1
Enable math in markdown preview
...
Fixes #124783
2021-06-08 09:58:54 -07:00
Matt Bierner
b8f11107f7
Use @types/vscode-webview
2021-05-27 13:41:38 -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