Support for the 'font-family' CSS attribute for each syntax highlighting selector

It would be really helpful if there was support for multiple typefaces for styling syntax highlighting. Currently, as per the docs, only the following CSS attributes are supported:

  • background-color
  • color
  • font-style
  • font-weight
  • text-decoration
  • text-shadow

Is it possible to add support for the font-family attribute?

I have ADHD and that makes reading/scanning code a bit challenging for me. Having support for multiple typefaces would make the reading/scanning part much more accessible for me.

1 Like