mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Added theme image support to the markdown preview (#137820)
This commit is contained in:
parent
4fb22d76cf
commit
1921071835
4
extensions/github/markdown.css
Normal file
4
extensions/github/markdown.css
Normal file
|
@ -0,0 +1,4 @@
|
|||
.vscode-dark img[src$=\#gh-light-mode-only],
|
||||
.vscode-light img[src$=\#gh-dark-mode-only] {
|
||||
display: none;
|
||||
}
|
|
@ -64,6 +64,9 @@
|
|||
"contents": "%welcome.publishWorkspaceFolder%",
|
||||
"when": "config.git.enabled && git.state == initialized && workbenchState == workspace && workspaceFolderCount != 0"
|
||||
}
|
||||
],
|
||||
"markdown.previewStyles": [
|
||||
"./markdown.css"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue