Skip to content

Instantly share code, notes, and snippets.

@technoknol
Last active December 15, 2021 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technoknol/f4a12be810593de752c70496adb3f4a8 to your computer and use it in GitHub Desktop.
Save technoknol/f4a12be810593de752c70496adb3f4a8 to your computer and use it in GitHub Desktop.
VSCode firaCode iScript
{
"editor.fontFamily": "Fira Code iScript",
"editor.fontSize": 15,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
// the following elements will be in italic
// (=Fira Code iScript)
"comment",
"keyword.control.import.js", // import
"keyword.control.export.js", // export
"keyword.control.from.js", // from
// "constant", // String, Number, Boolean…, this, super
"storage.modifier", // static keyword
"storage.type.class", // class keyword
"storage.type.php", // typehints in methods keyword
"keyword.other.new.php", // new
"entity.other.attribute-name", // html attributes
"fenced_code.block.language.markdown" // markdown language modifier
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
// the following elements will be displayed in bold
"entity.name.type.class" // class names
],
"settings": {
"fontStyle": "bold"
}
},
{
"scope": [
// the following elements will be displayed in bold and italic
"entity.name.section.markdown" // markdown headlines
],
"settings": {
"fontStyle": "italic bold"
}
},
{
"scope": [
// the following elements will be excluded from italics
// (VSCode has some defaults for italics)
"invalid",
"keyword.operator",
"constant.numeric.css",
"keyword.other.unit.px.css",
"constant.numeric.decimal.js",
"constant.numeric.json",
"comment.block",
"entity.other.attribute-name.class.css"
],
"settings": {
"fontStyle": ""
}
}
]
}
}
https://thomasventurini.com/articles/setup-firacodeiscript-for-italic-fonts-in-vscode/
https://github.com/kencrocken/FiraCodeiScript
https://devdojo.com/tnylea/adding-cursive-fonts-to-vs-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment