Commit Graph

10 Commits

Author SHA1 Message Date
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