Skip to content

GitHub: ligatures off in code by passcod

Details

Authorpasscod

LicenseCC-BY-4.0

Categorygithub

Created

Updated

Size340 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

To disable ligatures if your code font has them, only in the code listings (not in e.g. markdown, issues, etc).

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           GitHub: ligatures off in code
@namespace      example.com
@version        1.0.0
@description    Turns off ligatures in code listings.
@author         Félix Saparelli
==/UserStyle== */

@-moz-document domain("github.com") {
    .blob-code-inner {
        font-feature-settings: "liga" 0;
    }
}

Reviews

No reviews yet.