vscode-markdown-editor icon indicating copy to clipboard operation
vscode-markdown-editor copied to clipboard

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

Open NikoUmbleLSPA opened this issue 1 year ago • 1 comments

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

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

image

NikoUmbleLSPA avatar Aug 20 '24 13:08 NikoUmbleLSPA

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}

brianstringfellow avatar Dec 06 '24 22:12 brianstringfellow