Created
November 7, 2024 20:17
-
-
Save nx10/9e9b3692f9111e5cf1fcad27503235ab to your computer and use it in GitHub Desktop.
Overleaf Code Editor: Fira Code with Ligatures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Overleaf Code Editor: Fira Code with Ligatures | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Apply Fira Code with ligatures to Overleaf's code editor | |
// @author nx10 | |
// @license MIT | |
// @match https://www.overleaf.com/project/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
GM_addStyle(` | |
.cm-content { | |
font-family: 'Fira Code', monospace !important; | |
font-feature-settings: "calt" 1, "liga" 1 !important; | |
} | |
`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment