Customize code font of GitHub.
- Install Stylus for Chrome, Firefox.
- Click here to install
customize-github-font.user.css
.
Customize code font of GitHub.
customize-github-font.user.css
./* ==UserStyle== | |
@name Constomize GitHub Code Font | |
@description Customize code font of GitHub. | |
@author Shuntaro Nishizawa <me@shun.technology> (https://github.com/shun-shobon) | |
@namespace https://github.com/shun-shobon | |
@homepageURL https://gist.github.com/shun-shobon/f1478cc2cd4d9b96d72e5d99d98b80b9 | |
@updateURL https://gist.github.com/shun-shobon/f1478cc2cd4d9b96d72e5d99d98b80b9/raw/customize-github-font.user.css | |
@version 0.3.1 | |
@license MIT | |
@var text custom-font "Custom Font" "'UDEV Gothic 35NFLG'" | |
==/UserStyle== */ | |
@-moz-document domain("github.com") { | |
code, .blob-code-inner, .CodeMirror-lines, .markdown-body pre, .markdown-body .highlight pre { | |
font-family: var(--custom-font), monospace !important; | |
} | |
} |
0.1.0