Commit Graph

9 Commits

Author SHA1 Message Date
Matt Bierner
07144d22c4 Rename types in the markdown extension (#152905)
Renames in the markdown extension

This renames some types and splits up some files as part of an exploration towards a proper LSP. Changes:

- `SkinnyTextDocument` -> `ITextDocument`
- Moved `ITextDocument` to own file
- `MdWorkspaceContents` -> `IMdWorkspace`
2022-06-22 14:12:48 -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
ef69c9c8d8 Fix markdown pinning test 2022-01-05 14:49:00 -08:00
Matt Bierner
c986aef642 Remove .only and fix fragment used when opening file
Keeping the fragment causes a duplicated file to be opened
2021-10-13 19:33:56 -07:00
Matt Bierner
8b2b819f55 Update test case 2021-10-12 17:29:53 -07:00
Matt Bierner
af39918361 Organize imports in md ext 2021-08-03 13:22:46 -07:00
Matt Bierner
7bc2019b8d Updating pinning test 2021-05-21 15:01:05 -07:00
Henning Dieterichs
1f8643ef76 Refresh Images In Markdown Preview On Change (#114083)
* Refresh Images In Markdown Preview On Change (implements #65258).

* Fixes tests.

* Implements etags.

* Adds tests for urlToUri.

* Updates doc comment.
2021-01-19 18:01:21 -08:00
Connor Peet
3c42f56552 fixup! render a string as well 2019-07-11 11:24:28 -07:00