Matt Bierner
2b752cc239
Only remove margin on last child of preview
...
Fixes #142791
2022-02-11 16:27:02 -08:00
Matt Bierner
7f5be63be9
Escape spaces in file names for md suggestions
...
Fixes #142838
2022-02-11 16:18:24 -08:00
Kazuyuki Sato
a83046f9e6
Decode header suggestions in Markdown path IntelliSense, https://github.com/microsoft/vscode/issues/142330 ( #142392 )
2022-02-07 09:19:24 -08:00
Matt Bierner
1981fd8ece
Fix markdown previews not having an icon
2022-02-03 12:01:10 -08:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Johannes Rieken
7ccb868835
make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal
2022-02-02 12:37:29 +01:00
Matt Bierner
90b50dc7e2
Use ?. in a few more places
2022-02-01 13:59:12 -08:00
Megan Rogge
265cca240a
tweak bold regexp ( #141968 )
2022-02-01 14:10:02 -06:00
Matt Bierner
fdd5c8471a
Avoid lookbehind in regexp
...
Fixes #141689
2022-01-27 17:54:50 -08:00
Matt Bierner
4bdfc9ad01
type -> interface
2022-01-27 17:54:50 -08:00
Matt Bierner
ae08924bfa
readonly
2022-01-27 17:54:50 -08:00
Waqas Ali
a514979b02
Prevent link highlight in markdown code blocks and spans ( #140816 )
...
* Prevent link highlight in markdown codeblocks (#139770 )
* Handle inline codespan variants for markdown link provider (#139770 )
* Refactor codespan detection in markdown link provider (#139770 )
2022-01-25 12:38:50 -08:00
Matt Bierner
b44c6b3e0f
Treat / as relative to current folder for loose md files
2022-01-24 15:01:52 -08:00
Matt Bierner
968ef3a828
Implement opening for markdown custom editor
...
Fixes #138196
2022-01-19 14:41:39 -08:00
Matt Bierner
280658327f
Move toc expanding for notebooks logic into toc
2022-01-19 14:41:38 -08:00
Matt Bierner
a2d7dfaf35
Simplify toc structure
2022-01-19 14:41:38 -08:00
Matt Bierner
7756c6d7c7
Enable header completions for rest of notebook markdown cells
2022-01-19 14:41:38 -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
c047af40b2
Fix compilation
2022-01-19 16:18:14 -05:00
Logan Ramos
b22ee20028
Move to @vscode/extension-telemetry
2022-01-19 15:57:17 -05:00
Matt Bierner
0906e08747
Enable path completions in notebook markdown cells
2022-01-19 11:31:10 -08:00
Matt Bierner
a3e350e5b3
Enable completions in markdown defintions
...
Fixes #140602
2022-01-14 15:15:56 -08: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
3d79cbb912
Fix markdown path suggestions on windows
2022-01-13 16:51:36 -08:00
Matt Bierner
a1f3d41472
Use generators
2022-01-12 19:17:45 -08:00
Matt Bierner
dc03ccdfa9
Support insert and replace completion styles for paths in markdown
2022-01-12 19:05:37 -08:00
Matt Bierner
fb98c6da10
Skip path completion tests for now
...
A few of these are failing on windows. Need to test over there
2022-01-12 19:05:37 -08:00
Matt Bierner
1f6c069a1a
Adding basic support for reference link completions
...
For #140602
2022-01-12 19:05:37 -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
Matt Bierner
43c5bc4795
Always add dirname of current md document to localResourceRoots
...
Fixes #139907
Previously we only added this dir on `file` file system
2022-01-11 12:39:54 -08:00
Matt Bierner
f528f1a415
Make sure markdown refresh forces the preview to be updated
2022-01-08 17:30:37 -08:00
Matt Bierner
ef69c9c8d8
Fix markdown pinning test
2022-01-05 14:49:00 -08:00
Mohammad Sadegh Salimi
2a0d371ca3
Adding support for RTL languages for readme markdown preview. ( #139644 )
...
* [markdown preview] dir "auto" added to the markdown-body class.
* fix markdown preview for RTL languages
2022-01-05 14:14:32 -08:00
Logan Ramos
932ab8e485
Update vscode extension telemetry modules
2021-12-28 11:06:48 -05:00
Matt Bierner
e7b3724e0c
Enable no-case-declarations in codebase ( #139243 )
...
Fixes #139236
This can catch tricky programming mistakes that cause a runtime error. See 7e266b2c42 as an example of the type of bug this can prevent
2021-12-15 17:15:35 -08:00
Kaan Genç
ab2b080715
hasCustomMarkdownPreview disables markdown preview buttons in context menus ( #139241 )
2021-12-15 14:19:39 -08:00
Matt Bierner
5cbc8ed825
Enable find widget in markdown preview custom editors
...
Fixes #139148
2021-12-14 18:37:47 -08:00
Matt Bierner
9f454a39b3
Fix md preview trying to update its content on dispose
2021-12-14 18:37:47 -08:00
Matt Bierner
913639f42a
Strip meta http-equiv tags from webview content updates
2021-12-14 11:53:49 -08:00
Hans
3abcabd4e8
fix generates different html content for the same markdown ( #138935 )
...
fix generates different html content for the same markdown when get the cached token
2021-12-13 16:55:54 -08:00
Matt Bierner
e88394000f
Fix markdown outline for cases without a space after #
...
Fixes #138027
2021-12-06 15:58:11 -08:00
Joyce Er
efd055b8ba
Refresh markdown preview on all file changes ( #138301 )
...
* Refresh markdown preview on all file changes
* Don't watch `https`, `http`, and `data` uris
2021-12-06 12:36:22 -08:00
Matt Bierner
c8a321ae17
Skip document link test on web
...
Fixes #136738
Cant figure out why these tests sometimes timeout in safari on web. Only in ci too it seems :/
2021-11-15 13:27:04 -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
Johannes Rieken
a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165
2021-11-12 09:48:17 +01:00
Matt Bierner
40fbc4e89e
Unskip test
2021-11-11 09:20:58 -08:00
Johannes Rieken
edb91ace89
Merge branch 'main' into joh/vscode-dts
2021-11-11 09:30:36 +01:00
Matt Bierner
3a79384dbf
Tempoary skip sometimes flaky tests
2021-11-10 20:28:43 -08:00
Matt Bierner
4c00e6de08
Adding logging to test
...
For #136738
2021-11-10 16:07:35 -08:00
Matt Bierner
71f615b105
Also compare other attributes for md preview updates
...
Fixes #136816
2021-11-10 14:13:41 -08:00