VS Code Web: Fira Code with ligatures
Prefers Fira Code over Cascadia Code and enables programming ligatures (works on github.dev too).
Code to copy
/* Prefer Fira Code with ligatures, fallback to Cascadia (works on github.dev too) */
.monaco-editor,
.monaco-editor .view-lines,
.monaco-editor .view-line span {
font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace !important;
font-variant-ligatures: contextual common-ligatures !important;
}
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.