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

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

Open MOYUtianming opened this issue 3 years ago • 1 comments

Proposal

  • use powerline font in the preview window and output HTML files.
  • it is useful for reading and quickly understand the files.`

test

References

the font I am using is Cascadia Code.

MOYUtianming avatar Mar 23 '21 12:03 MOYUtianming

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.)

yzhang-gh avatar Mar 23 '21 13:03 yzhang-gh