Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown.preview.fontFamily not respected #105

Closed
Andy-Dihong-Luo opened this issue May 14, 2023 · 1 comment
Closed

markdown.preview.fontFamily not respected #105

Andy-Dihong-Luo opened this issue May 14, 2023 · 1 comment

Comments

@Andy-Dihong-Luo
Copy link

I want to configure the font family via markdown.preview.fontFamily, but nothing happened to the preview. The font just stay still.

@jjspace
Copy link
Contributor

jjspace commented May 15, 2023

Similar to #30 and there's some extra discussion about that one in #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 #98 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants