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
Jean Pierre
7f4d67c94c
Fix #110812 ( #114553 )
2021-01-19 14:21:02 -08:00
Matt Bierner
a68f1326e8
Update built markdown preview code
2021-01-15 10:38:50 -08:00
Takashi Tamura
a34e751b01
Fix scrolling of markdown preview. Close #65504 ( #111094 )
...
* Fix scrolling of markdown preview.
* Use scrollDisabledCount.
* Stop initializing scrollDisabledCount.
* Make scrollTo enough large to occur scroll events.
* Should resolve when the error event occurs.
2021-01-14 17:24:08 -08:00
Alexandru Dima
7242082983
Fixes #112834 : Ensure the markdown link provider is registered before invoking vscode.executeLinkProvider
2020-12-30 21:50:10 +01:00
Alexandru Dima
f74ad9692f
Align @types/* dev dependencies ( #112718 )
2020-12-18 13:28:39 +01:00
Alexandru Dima
fee6dbf4e0
Merge remote-tracking branch 'origin/master' into alex/node-modules-vscode
2020-12-17 22:02:47 +01:00
Alexandru Dima
7ca71e763d
Move away from deprecated 'vscode' node module ( #112718 )
2020-12-17 21:40:14 +01:00
Alexandru Dima
e0498f0cdd
Share typescript node module ( #112718 )
2020-12-17 20:58:11 +01:00
Alexandru Dima
e42440bd35
Merge remote-tracking branch 'origin/master' into alex/node-modules-webpack
2020-12-17 17:35:21 +01:00
Alexandru Dima
1cada18542
Share webpack related node modules ( #112718 )
2020-12-17 11:16:03 +01:00
Alexandru Dima
ed19f6082f
Share mocha related node modules ( #112718 )
2020-12-17 11:03:49 +01:00
meganrogge
0f33afa9f9
fix #112217 by replacing look behinds
2020-12-14 10:30:45 -08:00
dependabot[bot]
45c7cae914
Bump ini from 1.3.5 to 1.3.7 in /extensions/markdown-language-features ( #112275 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 11:22:24 +01:00
Matt Bierner
92723a8a2c
Bump markdown-it and highlight versions
2020-12-11 12:14:27 -08:00
Matt Bierner
79557ebbd2
Make sure markdown preview is updated if on disk file is updated
...
Fixes #111685
2020-12-09 14:08:15 -08:00
meganrogge
4884986dd6
tweak smart select test
2020-12-02 10:13:02 -08:00
meganrogge
a2193cb827
fix #111714
2020-12-02 10:10:21 -08:00
meganrogge
5e54da666c
fix #111675 and #111673
2020-12-01 17:03:47 -08:00
dependabot[bot]
6062ebe318
Bump highlight.js in /extensions/markdown-language-features ( #111262 )
...
Bumps [highlight.js](https://github.com/highlightjs/highlight.js ) from 9.15.10 to 10.1.2.
- [Release notes](https://github.com/highlightjs/highlight.js/releases )
- [Changelog](https://github.com/highlightjs/highlight.js/blob/10.1.2/CHANGES.md )
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.15.10...10.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 17:32:45 -08:00
meganrogge
b2eca1fd4d
Fix InMemoryDocument to support both OS line endings
...
Co-authored-by: mjbvz <matb@microsoft.com >
Co-authored-by: meganrogge <megan.rogge@microsoft.com >
2020-11-11 14:05:20 -08:00
Rob Lourens
35f9bac07d
Disable markdown smart select tests #110365
2020-11-10 20:02:24 -08:00
Erik Krogh Kristensen
7a4e81a674
fix catastrophic backtracking when parsing markdown files ( #109964 )
2020-11-10 14:56:06 -08:00
Megan Rogge
63d15a97c7
Support character markup in mardown smart select ( #110195 )
...
* create tests and add selection functions for inline ranges
2020-11-10 11:38:27 -08:00
David Sanders
fcef0e3db4
Use Array.flat() ( #110189 )
2020-11-09 12:46:26 -08:00
meganrogge
6e2aa0bfb7
clean up code and remove unused methods
2020-11-06 12:42:17 -08:00
David Sanders
153ba443d5
Use string.matchAll ( #110074 )
2020-11-06 11:49:56 -08:00
meganrogge
fc07b2f170
add comments to clarify code
2020-11-06 11:38:21 -08:00
Matt Bierner
24b28f57be
Always use vscode.open to open markdown links
...
Fixes #108998
This ensures we use the custom editor if it is the default
2020-11-05 17:00:16 -08:00
meganrogge
08e556dc5d
fix #109486 and #109489
2020-11-04 10:16:06 -08:00
Matt Bierner
90b17ed115
Make it easier to override markdown table stylings
...
Fixes #105796
This makes the markdown preview's default css for tables less specific. This should make it easier to user or extensions to override it
2020-11-02 13:53:26 -08:00
Megan Rogge
5d4df8273e
markdown smart select ( #108818 )
...
smart select
2020-10-26 15:33:48 -07:00
Matt Bierner
dd124a5cae
Cleaning up code
...
- Use more explicit names
- extract
- Use `??`
2020-10-16 17:18:44 -07:00
Nafana
df59ceb026
Markdown reference links starting with ^ should not be clickable ( #108015 )
...
Co-authored-by: mmacovei <mmacovei@sfu.ca >
2020-10-08 00:38:17 -06:00
Matt Bierner
240afbde58
Use array.equals
2020-09-16 11:58:01 -07:00
dependabot[bot]
a9a7cf18f3
Bump yargs-parser in /extensions/markdown-language-features ( #106373 )
...
Bumps [yargs-parser](https://github.com/yargs/yargs-parser ) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases )
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md )
- [Commits](https://github.com/yargs/yargs-parser/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 09:34:00 -07:00
Ladislau Szomoru
06730e3e29
Azure DevOps pipeline - generate unique test result names ( #105148 )
...
* Set suite name based on environment variable
2020-08-21 15:05:15 +02:00
Ladislau Szomoru
b2efcbf687
Add process.arch into the test results file name ( #104946 )
2020-08-19 07:48:37 +02:00
Johannes Rieken
4398a424d5
fix compile error
2020-08-13 12:49:55 +02:00
dependabot[bot]
0b773db915
Bump elliptic in /extensions/markdown-language-features ( #103658 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 14:01:25 -07:00
Matt Bierner
bd11c7f95a
Don't use negative margins for spacing in markdown preview
2020-08-03 12:27:57 -07:00
Jean Pierre
f732547a3d
Fixes #103076 ( #103578 )
2020-07-29 15:31:50 -07:00
Alex Dima
91cdca1bdb
Do not ship unnecessary files with extensions
2020-07-24 13:57:51 +02:00
Matt Bierner
731f9c2563
Prefer using data-href if it exists on a markdown preview link
...
Fixes #101203
2020-07-23 21:51:18 -07:00
dependabot[bot]
454f2dc891
Bump lodash in /extensions/markdown-language-features
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-17 11:08:54 +00:00
Matt Bierner
7099dc0708
Add extra check to markdown state
...
Possibly for #102733
Tries to get users out of a potential bad state where the state was being stored as a string. Only insiders users should have hit this
2020-07-16 16:27:42 -07:00
Jason Williams
9a12a5abed
fix paragraphs inside of <ul>'s which are too spaced apart. ( #102719 )
...
* * paragraphs inside of <ul>'s were too spaced apart.
* It looks odd because markdown converts list items to <p>s
* li > p should be even better
2020-07-16 11:20:38 -07:00
Jason Williams
3ef3c105e6
h1 bottom margin is too much ( #102520 )
2020-07-14 11:21:45 -07:00
Matt Bierner
2a8c8def27
Re-enable markdown document link tests
...
Fixes #102364
2020-07-14 09:23:39 -07:00
Matt Bierner
c828a5339b
Fix indentation style
2020-07-13 18:01:07 -07:00