Commit Graph

53 Commits

Author SHA1 Message Date
태재영
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
Benjamin Pasero
e2d1fd06d1 debt - update extensions node dependency to 10.x 2019-02-07 08:49:36 +01:00
SteVen Batten
ccdd2997a6 update AI module (#66370)
fixes #64849
2019-01-10 17:43:25 -08:00
Matt Bierner
1bbc0e3b4d Deprecate the previewFrontMatter setting
Switch to always hiding the frontmatter and then allowing markdown-it plugins to render it properly if they wish. `previewFrontMatter: "show"` is also not very useful since it usually results in a jumble of text at the top of the file

This is required with the new performance work to avoid re-tokenizing the document  multiple times during rendering
2019-01-09 19:05:55 -08:00
Benjamin Pasero
83232ef060 fonts - remove HelveticaNeue-Light from list 2019-01-04 10:11:04 +01:00
Matt Bierner
23508cf1a0 Update markdown dependencies 2018-12-19 13:40:54 -08:00
Johannes Rieken
b343fcf6ab declare proposed api usage only where actually being used 2018-10-24 12:27:59 +02:00
Ramya Achutha Rao
a975e59eaf Update applicationInsights for #60585 2018-10-16 16:29:08 -07:00
Matt Bierner
9e017425b3 Replace markdown-named-headers with custom version
Fixes #47537

Use our own version of markdown named headers. This fixes some bugs around handling duplicate headers
2018-10-08 16:04:47 -07:00
Ramya Achutha Rao
972ee3f948 Use latest applicationinsights in extensions too 2018-09-25 16:45:00 -07:00
Matt Bierner
e19c9ba82d Addd option to open markdown preview links in markdown preview
Fixes #19339
2018-09-21 15:08:42 -07:00
Johannes Rieken
6999ddbab7 update vscode-extension-telemetry 2018-09-20 12:06:55 +02:00
Ramya Achutha Rao
d0a67178ca Update appinsights in built in extensions 2018-09-18 18:35:12 -07:00
Johannes Rieken
fc2b0a8ec1 add missing vscode-nls updates 2018-09-06 15:12:28 +02:00
Benjamin Pasero
920defc6a6 debt - update extensions node dependency to 8.x 2018-08-14 10:44:56 +02:00
Ramya Achutha Rao
1912c5d755 Allow extensions to log telemetry to log files #54001 2018-07-30 16:18:54 -07:00
Dirk Baeumer
21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Matt Bierner
66a9cfd809 Update deps 2018-06-20 14:12:18 -07:00
Joao Moreno
4dc738593b complete integration test results 2018-06-12 17:24:23 +02:00
Matt Bierner
608bbb7c01 Use better colors for markdown code blocks 2018-05-30 22:53:56 -07:00
Matt Bierner
b00948ffec Use more specific onWebviewPanel activation event 2018-05-25 12:11:57 -07:00
Matt Bierner
0d584a9086 Allow open preview from markdown file title context menu
Part of #37045
2018-04-30 17:30:44 -07:00
Ramya Achutha Rao
1139de12c0 Create appInsights client only if user has opt-in to telemetry 2018-04-25 15:21:15 -07:00
Ramya Achutha Rao
953cdf7f3d Update vscode-extension-telemetry version 2018-04-20 10:30:05 -07:00
Matt Bierner
dd21d3520a Add webview restoration api proposal (#46380)
Adds a proposed webiew serialization api that allows webviews to be restored automatically when vscode restarts
2018-04-03 18:25:22 -07:00