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

CSS setting specification is ignored (at least for font-face) #94

Open
NikoUmbleLSPA opened this issue Aug 20, 2024 · 1 comment
Open

Comments

@NikoUmbleLSPA
Copy link

I specified the following, which does not apply to the editor:

"markdown-editor.customCss": "font-family: Tahoma !important;"

image

@brianstringfellow
Copy link

After spending some time looking through the settings in https://github.com/zaaack/vscode-markdown-editor/blob/master/media/dist/main.css and performing some trial-and-error changes, I finally found the setting to change the font face.

"markdown-editor.customCss": ".vditor .vditor-reset{font-family:Tahoma!important}",

After adding/updating the setting, remember to reload the Markdown Editor to see the result.

The setting was originally

.vditor .vditor-reset{font-family:var(--vscode-editor-font-family)!important}

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