Commit graph

74 commits

Author SHA1 Message Date
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
Matt Bierner 143bebfbb4 Use em for code font size instead of rem
This fixes some cases where a user style sheet may be setting a weird base font-size.
2019-05-29 15:44:48 -07:00
Matt Bierner f250d19bb5 Use relative size for markdown code font size
Fixes #74125
2019-05-22 10:53:49 -07:00
Matt Bierner 003521e715 Fix markdown preview restoring to wrong position on restart 2019-02-14 18:24:01 -08:00
Benjamin Pasero 83232ef060 fonts - remove HelveticaNeue-Light from list 2019-01-04 10:11:04 +01:00
Matt Bierner cba84fba5e Take progress within element into account for markdown scroll sync
Fixes #65504
2019-01-02 14:36:16 -08:00
Matt Bierner 907924abc0 Reveal absolute top of markdown preview when scrolling to line 0
Fixes #61816
2018-10-25 11:57:50 -07:00
Matt Bierner fe63c7e2f2 Reveal line 0 in editor when markdown preview scrolls to top
Fixes #61815
2018-10-25 11:57:50 -07:00
Agustín Rodríguez 9041e6a4b5 styles for diff on markdown preview (#59289)
* styles for diff on markdown preview

* moved styles to markdown specific css file
2018-09-25 12:02:15 -07:00
Matt Bierner a101ececf4 Remove onCommand from markdown preview 2018-09-21 15:08:41 -07:00
Matt Bierner 7185906189 Reduce usage of postCommand in markdown preview 2018-09-21 15:08:41 -07:00
SteVen Batten f8f4d3af30
improve markdown preview scroll sync (#58852)
* improve markdown preview scroll sync
2018-09-18 15:08:37 -07:00
Matt Bierner a2974a0782 Fix markdown code blocks getting two backgrounds in preview
Fixes #53246
2018-06-28 15:18:05 -07:00
Matt Bierner 48c54a009f Override light color for function and params in md code preview
Fixes #52710
2018-06-25 11:09:05 -07:00
Cherry Wang 749a1bfeee Markdown and common toolbar icons consistency pass (#50484)
* arkdown and common toolbar icons consistency pass

* Fixed icon size related css

* fix merge issue

* flip
2018-06-03 11:32:59 +02:00
Matt Bierner 608bbb7c01 Use better colors for markdown code blocks 2018-05-30 22:53:56 -07:00
Matt Bierner ab2efd6724 Make sure we inherit the correct border-color
#49978
2018-05-16 15:16:15 -07:00
Matt Bierner be413aed89 Use css vars for more webview styling
Fixes #49749
2018-05-14 14:36:13 -07:00
Matt Bierner 21ee81c03b Working on webview persistence API
#49022
2018-05-14 10:34:59 -07:00
Matt Bierner 82d97b4c3c Add acquireVsCodeApi to get handle to vscode api inside webview
Fixes #48540
2018-04-25 22:28:31 -07:00
Matt Bierner f36cae36dc Add vscode namespace in webview
From discussion around #48540
2018-04-25 15:33:45 -07:00
Matt Bierner 9755b46bf6 Fix double click markdown editor when in split view
#47188
2018-04-05 10:16:39 -07:00
Matt Bierner 468dc867cd Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00