Like with Fira Code you can
@import url("https://cdn.jsdelivr.net/gh/tonsky/[email protected]/distr/fira_code.css");
An easy to import css file like that would be nice!
However, it is possible to link to the fonts via jsdelivr in your own css:
@font-face{
font-family: 'JetBrainsMono';
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
Thx
@import url("https://dev-cats.github.io/code-snippets/JetBrainsMono.css");
You can use this in your stylesheet:
https://gist.github.com/Albert221/753d7f8955eeb6f5e50486fce048e39f
Most helpful comment
An easy to import css file like that would be nice!
However, it is possible to link to the fonts via jsdelivr in your own css: