Add support for italics in the theme. #289
Replies: 4 comments
-
Do you mean making HTML attributes italic, like in this example? Hmm... in general, this theme tries to stay close to how github.com highlights HTML attributes which are non-italic. But we can convert this issue to a discussion and see if we get more feedback. |
Beta Was this translation helpful? Give feedback.
-
Based on this comment, you can also enable this in your "editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "entity.other.attribute-name",
"settings": {
"fontStyle": "italic"
}
}
]
} |
Beta Was this translation helpful? Give feedback.
-
Moving from #213 where @mittalyashu has a similar suggestion.
|
Beta Was this translation helpful? Give feedback.
-
In the meantime if anyone else wants to add italics to any of their themes (including Github theme), you can copy the following snippet in your settings.json: https://gist.github.com/mjsarfatti/ab0c9386436d47b7a7c8c4fae3769670 |
Beta Was this translation helpful? Give feedback.
-
Many themes in the marketplace have italics support that makes a life a lot easier, especially in front end development.
For eg:- When the HTML markup is a large file then if the attributes are italicised, it would be a lot easier to look at and modify the markup.
Please provide support for this feature. It would be a life saver.
Thank You
Beta Was this translation helpful? Give feedback.
All reactions