Matt Bierner
3e9b7f5072
Fix markdown fontsize
...
Fixes #98178
2020-05-20 15:40:27 -07:00
Matt Bierner
df88d8a7ef
Use vscode editor font variable in markdown preview
...
Fixes #97374
2020-05-11 14:23:16 -07: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
Benjamin Pasero
e5f0077f40
css 💄
2019-10-25 16:41:56 +02:00
Matt Bierner
8f6108beea
Removing unused .mac style rule for rendered markdown
2019-09-19 16:26:33 -07:00
Neonit
c5ab082ed7
Adjust Code Tab Size to 4 in Markdown Preview
...
Sets the tab size to 4 in the Markdown preview for code blocks in Markdown documents. I consider a tab size of 4 being standard and the default of 8 being unbearable. The few people, if any, using a different tab size than 4 can use the custom markdown preview style feature, if it is going to be fixed anytime (https://github.com/microsoft/vscode/issues/77290 ).
[`tab-size` is still marked *experimental* in the MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size ), but it doesn't hurt, if not supported. However, in the used Chromium version it is supported.
2019-07-22 11:49:04 +02:00
Matt Bierner
a558a9504a
Adding toWebviewResource api
...
For #76489
2019-07-08 18:38:47 -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
Benjamin Pasero
83232ef060
fonts - remove HelveticaNeue-Light from list
2019-01-04 10:11:04 +01: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
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
468dc867cd
Rename markdown to markdown-language-features
2018-03-19 21:08:39 -07:00