Closed Andy-Dihong-Luo closed 1 year ago
Similar to #30 and there's some extra discussion about that one in https://github.com/mjbvz/vscode-github-markdown-preview-style/pull/44 The goal of this plugin is to match Github's rendering as close as possible so I'm not sure it makes sense to include this?
You can probably achieve this by providing a custom markdown.styles
CSS file in VSCode's settings. See Using your own CSS.
As a note you will have to apply the style to the .github-markdown-body
class not just the body
element to avoid the extension overriding it. See comment https://github.com/mjbvz/vscode-github-markdown-preview-style/issues/98#issuecomment-1485584607
I want to configure the font family via
markdown.preview.fontFamily
, but nothing happened to the preview. The font just stay still.