yzhang-gh / vscode-markdown

Markdown All in One
https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one
MIT License
2.91k stars 322 forks source link

How to enable font features, like ligatures, in the preview or output HTML #920

Open MOYUtianming opened 3 years ago

MOYUtianming commented 3 years ago

Proposal

test

References

the font I am using is Cascadia Code.

yzhang-gh commented 3 years ago

Thanks for the feedback.

What you want is "font ligatures", which requires specific fonts (in this case, Cascadia Code) and also editor support. I'm not sure whether the preview tab supports this, but you can try to set markdown.preview.fontFamily to Cascadia Code first.

(Actually it is out of this extension's control. Please see https://github.com/Microsoft/vscode/issues/35410.)