Commit Graph

25 Commits

Author SHA1 Message Date
Matt Bierner
ed8aa7702b Provide real name and description for markdown extension
#43978
2018-02-22 15:12:09 -08:00
Matt Bierner
f980319f5c Add markdown preview refresh command
Fixes #32111
2017-08-07 20:21:16 -07:00
Matt Bierner
e0c43aa340 better desc for linkify setting 2017-08-01 15:35:42 -07:00
Matt Bierner
3cf215fb64 Add linkify setting for the markdown preview
Fixes #31801
2017-08-01 15:28:01 -07:00
Matt Bierner
ed1ae2f59d Remove redundant markdown name in change security command 2017-08-01 13:44:11 -07:00
Matt Bierner
5c0f51313b enable markdown extension API 2017-07-14 15:21:35 -07:00
Rohith Reddy Kumbharkar
e9ec53eb7a Added functionality to toggle break rendering mode for markdown preview (#28713) 2017-06-15 17:24:47 -07:00
Matt Bierner
efd3efcb62 Added markdown trace option for debugging user issues Fixes #24983 (#24985) 2017-04-18 18:57:01 -07:00
Matt Bierner
11aba2dc61 Document enableExperimentalExtensionApi for insiders 2017-04-10 17:14:42 -07:00
Matt Bierner
4ebfc2fc18 Add Enhanced Security Settings to Markdown Preview
Adds enhanced security settings for the markdown preview. The new flow disable all scripts within the preview itself. Users can enable scripts on a per workspace basis.

When a markdown document that uses scripts is loaded, a warning is shown inside the document itself. This warning triggers a new security selector quick pick which allows users to enable or disable enahanced security in the workspace.
2017-03-03 13:56:23 -08:00
Matt Bierner
6b5c143705 Clarify markdown setting string. Fixes #20409 2017-02-13 14:17:27 -08:00
Matt Bierner
93c4b5f077 Fixes #19093 2017-01-23 14:12:52 -08:00
Matt Bierner
0309c46454 Sort markdown settings 2017-01-23 14:08:14 -08:00
Matt Bierner
6053021a6c Split up and rename Markdown Scroll Sync Settings (#19077)
Splits the markdown scroll sync settings to be more granular.
2017-01-23 11:59:12 -08:00
Matt Bierner
5bf8cc7618 Add Markdown Preview to Editor Scroll Syncronization
Adds an initial implementation of scroll synrconization from the markdown preview to the editor. When the preview is scrolled, automatically scrolls the editor to reveal the same location.

This required adding a new supported reveal type `AtTop` in our API. This is already supported and used internally, but not really exposed in the public apis (except for the `revealLine` command).
2017-01-22 00:47:06 -08:00
Matt Bierner
b29ef9b4e8 Prototyping Markdown Preview Synchronization With Editors (#18762)
* Adds command to post a message to an html preview

**Bug**
There is currently no easy way to communicate with an html preview document after the preview has been created.

**Fix**
Adds a command called `vscode.htmlPreview.postMessage` to post a message to a visible html preview. This message will only be posted if the target preview is visible.

Inside the preview, the event is recieved using the standard dom event:

* Remove logging

* proto

Continue proto

* clean up rendering

* Gate prototype

* Fix gating

* Remove public command

* Change setting name

* Added current position indicator

* Reveal center
2017-01-18 17:58:45 -08:00
Matt Bierner
0c6333e604 Add font settings for markdown preview (#16302)
Fixes #4641

Adds basic settings for controlling the markdown preview font. We already support this with custom css, but these settings are similar to what the editor and integrated terminal expose and allow for a few basic customizations. Custom style sheets will override these.
2016-12-01 12:55:00 -08:00
Matt Bierner
9ee2ad1258 Extract markdown decs strings for #13102 (#16177) 2016-11-28 15:10:07 -08:00
Matt Bierner
7320059e5c Don't translate Markdown.category Closes #16087 (#16159) 2016-11-28 12:48:23 -08:00
Johannes Rieken
dbb8c3f3b6 markdown uses explorer/context menu 2016-06-23 16:27:49 +02:00
kieferrm
65d93c9408 Fix up duplicated names in command pallete 2016-06-21 20:24:08 -07:00
Johannes Rieken
f23877c4ed md - differentiate between showPreview and showSource
having two distinct commands allows us to have a context menu action in the explorer to show a preview
2016-06-17 11:23:17 +02:00
Johannes Rieken
b248889d39 inline context, have one per command 2016-06-16 17:35:13 +02:00
kieferrm
2ac170e64e fix hygiene issues 2016-06-14 15:01:58 +02:00
kieferrm
0b856de5a7 prepackage markdown extension 2016-06-14 15:01:58 +02:00