Skip to content

Instantly share code, notes, and snippets.

@nx10
Created November 7, 2024 20:17
Show Gist options
  • Save nx10/9e9b3692f9111e5cf1fcad27503235ab to your computer and use it in GitHub Desktop.
Save nx10/9e9b3692f9111e5cf1fcad27503235ab to your computer and use it in GitHub Desktop.
Overleaf Code Editor: Fira Code with Ligatures
// ==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