Matt Bierner
91a20c06b9
Use npm for building markdown preview
2021-02-09 17:47:32 -08:00
João Moreno
ec805db5ed
add repository field to extensions package.json
2021-01-29 15:30:45 +01:00
João Moreno
9a5d14e307
run prettier over extensions json files
2021-01-29 15:19:18 +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
Matt Bierner
92723a8a2c
Bump markdown-it and highlight versions
2020-12-11 12:14:27 -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
Peng Lyu
6a4866acd2
Reposition Editor Reopen With action. ( #101936 )
...
* Reposition Editor Reopen With action.
* 1_open
Co-authored-by: Benjamin Pasero <benjpas@microsoft.com >
2020-07-10 09:04:15 -07:00
Matt Bierner
3a54cd7ca3
Disable markdown commands when in markdown cells in notebooks
...
Fixes #101514
2020-07-06 14:59:29 -07:00
Martin Aeschlimann
16be2c9885
used shared webpack-config for browser
2020-06-25 23:22:02 +02:00
Miguel Solorio
fe70e8e27b
Update markdown extension to use codicons ( fixes #99976 )
2020-06-12 11:30:53 -07:00
Matt Bierner
b42086b6eb
Enable markdown language features for web/serverless
2020-06-09 15:32:18 -07:00
Benjamin Pasero
588097171c
Refactor our font stack ( #99429 )
...
* fonts - adopt monaco-monospace-font in more places and make it consistent
* font - use platform specific fonts in more places
* font - move system-ui before Ubuntu font in places where we cannot control platform
* font - only use system-ui on Linux
* fonts - adjust font stack for other windows
2020-06-05 10:56:07 +02:00
Danny Lin
ff118340b5
Use system-ui alias for UI fonts ( fixes #10144 ) ( #96948 )
...
Commit 45d93e9325 applied this change in
some areas, but it was reverted to fix #28619 . The underlying cause of
the regression was Chromium bug 733219 [1], which has now been fixed, so
this change should be safe to apply now.
The old font stacks have been kept with lower priorities to work around
Chromium bug 724393 [2].
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=733219
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=724393
2020-05-08 08:21:40 +02:00
Matt Bierner
7d238f4281
Add 'open with' to the explorer context menu ( #95805 )
...
This change primarly adds a new `Open with...` entry to the explorer context menu. To do this however, I had to make a few other changes:
- Add a new explorer context key for availible editors
- Moved the editor select prompt into a new function called `openEditorWith`
- Use `openEditorWith` for the new `open with` explorer command as well as for the `reopen with` command
2020-04-23 14:16:36 -07:00
Pine Wu
2362584a62
Revert "Fix #73803 "
...
This reverts commit 67e6aef0c8 .
2020-03-06 00:30:14 -08:00
Pine Wu
67e6aef0c8
Fix #73803
2020-03-05 11:34:58 -08:00
Matt Bierner
dc68e6578e
rename custom editor activation event
...
For #77131
Renames the activation event from `onWebviewEditor` to `onCustomEditor` to be consistent with the reset of the API
2020-02-26 10:59:36 -08:00
Matt Bierner
dc1e7871b8
Rename custom editor contribution point
...
Renaming to match new API proposal
2020-02-25 10:55:41 -08:00
태재영
a03df2d635
update markdown-it-front-matter version ( #90122 )
2020-02-10 14:45:13 -08:00
Matt Bierner
007b3032ad
Update to TS 3.7.3 for building VS Code
2019-12-11 15:58:59 -08:00
Matt Bierner
0491afb85e
Update md version
2019-11-09 12:52:27 -08:00
Matt Bierner
8236f06bfc
Add experimental webview editor based markdown preview
...
Potentially for #54776 , #2766
2019-11-08 10:38:51 -08:00
Matt Bierner
37753d5bbc
Update deps
2019-11-02 15:28:01 -07:00
Benjamin Pasero
ca22de4b17
debt - bump node.d.ts dependency in extensions to 12.x (part of #82514 )
2019-10-28 08:11:47 +01:00
Matt Bierner
acdbc65fcc
Update highlight js and md versions
2019-10-12 20:14:07 -07:00
Matt Bierner
36aa903d5a
Rewrite how we handle links in the md preview
...
Try to simplify how we resolve links:
- Move most logic out of the preview itself.
- Simplify the amount of rewriting we do in the markdown engine
2019-10-04 17:57:33 -07:00
Matt Bierner
a835f40c5b
Remove deprecated scrollPreviewWithEditorSelection setting
2019-09-11 14:28:22 -07:00
Matt Bierner
28c5988f47
Renaming setting names
2019-09-10 16:20:01 -07:00
Salvador Cabrera Lozano
c307d73664
Fix for #26659 . ( #80227 )
...
* Fix for #26659 .
Clicking on a local file link will open up the editor on a separate editor group (new or reuse existing one).
* Fix for #26659 : Add way to open Markdown links in a different editor group
Adding "markdown.editor.openMarkdownLinks" setting to specify where
links to markdown files should open (current editor group by default).
2019-09-10 15:58:27 -07:00
Matt Bierner
4f5ef27990
Pull in latest markdown-it version
2019-08-21 18:03:50 -07:00
Matt Bierner
f509f7f141
Rename command
...
#75612
2019-08-20 11:25:42 -07:00
Matt Bierner
7c3aeb10a2
Merge pull request #77151 from connor4312/feat/markdown-render-command
...
feat(markdown): add render command (fixes #75612 )
2019-08-20 11:23:47 -07:00
Pine Wu
d44f9dae34
Use array of string for applicable builtin settings
2019-07-17 15:07:31 -07:00
Connor Peet
7dd109c2df
feat(markdown): add render command ( fixes #75612 )
...
This adds a command which renders the provided document, or the active
editor if one is provided. Following the pattern of some of the preview
commands, it returned `undefined` if there's no document provided and
no active text editor. Otherwise, seems to work...
```ts
const html = await vscode.commands.executeCommand<string>('markdown.render');
```
A way to render arbitrary strings in addition to documents may be useful at
some point in the future. However, I didn't implement that here as that'd
require some refactoring of the markdown engine. If we're interested though
I could certainly give that a shot.
2019-07-10 15:49:06 -07:00
Miguel Solorio
05ee90f7fd
Merge remote-tracking branch 'origin/master' into misolori/new-icons
2019-06-28 11:05:33 -07:00
Miguel Solorio
e998949260
Update markdown icons
2019-06-20 11:53:01 -07:00
Matt Bierner
7f3d3d835f
Add vscode.env.webviewResourceRoot api
...
Fixes #72155
Adds a constant to the api that tracks the root path for resources inside of webviews. This is required because we will not be able to use `vscode-resource:` uris on the web. Our current approach is to rewrite the html we are given but there are almost certainly going to be cases where we don't get this quite right.
Adopts the new api for the markdown preview
2019-06-18 22:29:37 -07:00
Aurélien Pupier
7a5bca9faf
Add License field to package.jsons #68423 ( #68771 )
...
it should avoid to have "warning XXX: No license field" during yarn
build
Signed-off-by: Aurélien Pupier <apupier@redhat.com >
2019-06-06 11:44:50 +02:00
Matt Bierner
b33f52a46e
Update highlightjs version
2019-06-05 15:41:45 -07:00
Benjamin Pasero
d78a75973c
update @types/node ( #74881 )
2019-06-05 10:20:01 +02:00
Matt Bierner
6b2daa3388
Revert marking markdown extension with explicit kind
2019-04-22 21:05:16 -07:00
Matt Bierner
5ae3178c1d
Mark markdown as a ui extension
2019-04-15 15:28:03 -07:00
Matt Bierner
f62d1f25f3
Only show the markdown refresh preview command when preview is active or you are in a markdown file
2019-03-01 16:06:51 -08:00
Alex Dima
f15a6faaca
Try to fix Markdown
2019-02-07 09:53:52 +01:00