Skip to content

Instantly share code, notes, and snippets.

@mutsune
Created February 22, 2017 14:45
Show Gist options
  • Save mutsune/14bb6bb34679f04b76dba2de6e0f3549 to your computer and use it in GitHub Desktop.
Save mutsune/14bb6bb34679f04b76dba2de6e0f3549 to your computer and use it in GitHub Desktop.
Fira Code with Ligature for Jupyter Notebook
@font-face {
font-family: 'Fira Code';
src: url("https://cdn.rawgit.com/dunovank/jupyter-themes/1e851888/jupyterthemes/fonts/monospace/firacode/firacode.otf") format("opentype");
}
.CodeMirror {
font-family: 'Fira Code';
font-variant-ligatures: initial;
}
.cm-string {
font-variant-ligatures: none;
}
@shanehh
Copy link

shanehh commented Jun 29, 2021

It works, thank u!
image

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