在 chrome secure shell 使用 NERD fonts

要在 chrome secure shell 使用 NERD fonts 字型,開啟 chrome secure shell 的選項,在 Custom CSS (URI) 填入 https://cdn.jsdelivr.net/gh/kjelly/webfont@latest/css/nerd.css

之後就可以在 Text font family 填入下面字型名稱,使用該字型。目前之支援的字型有:

Knack Nerd Font Mono
FiraCode Nerd Font Mono
Hack Nerd Font Mono
UbuntuMono Nerd Font Mono
SauceCodePro Nerd Font Mono
SpaceMono Nerd Font Mono
Hurmit Nerd Font Mono
DroidSansMono Nerd Font Mono
InconsolataLGC Nerd Font Mono
RobotoMono Nerd Font Mono
Iosevka Nerd Font Mono
AurulentSansMono Nerd Font Mono
DaddyTimeMono Nerd Font Mono
JetBrainsMono Nerd Font Mono
Cousine Nerd Font Mono
Anonymice Nerd Font Mono
NotoMono Nerd Font Mono
InconsolataGo Nerd Font Mono
LiterationMono Nerd Font Mono
mononoki Nerd Font Mono
Monoid Nerd Font Mono
FuraMono Nerd Font Mono
GoMono Nerd Font Mono
Iosevka Nerd Font Mono
FuraMono Nerd Font Mono
VictorMono Nerd Font Mono

如果上面沒有你要的字型,你也可以在 Custom CSS (inline text)
新增 css。格式如下(fontname 和 ttfpath 要替換成你要用用的字型):

@font-face {
  font-family: {font_name};
  src: url("https://cdn.jsdelivr.net/gh/ryanoasis/nerd-fonts@latest/patched-fonts/{ttf_path}");
}

You'll only receive email when they publish something new.

More from kjelly
All posts