custom specifies:
article class with math fonts from mathpazo package.\hypersetup.preview.css specifies Latin Modern Sans typeface for VS Code preview of markdown file. Add the following to the workspace settings file .vscode\settings.json to modify the markdown preview:
{
"markdown.styles": ["https://www.purnaelango.com/typeset-util/preview.css"]
}
See the example provide in .vscode directory of this repo. Opening this repository in VS Code will apply the style to this preview of this readme file. See the rendered HTML version here.