Skip to content

Instantly share code, notes, and snippets.

@shun-shobon
Last active May 1, 2022 13:55
Show Gist options
  • Save shun-shobon/f1478cc2cd4d9b96d72e5d99d98b80b9 to your computer and use it in GitHub Desktop.
Save shun-shobon/f1478cc2cd4d9b96d72e5d99d98b80b9 to your computer and use it in GitHub Desktop.
Customize code font of GitHub.
/* ==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;
}
}
@shun-shobon
Copy link
Author

0.3.0

  • feat: マークダウン内のインラインコードブロックに対応

@shun-shobon
Copy link
Author

0.3.1

  • fix: ファイル末尾の改行忘れを修正

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment