- Install Package Resource Viewer.
- In package control window select ‘Package Resource Viewer: Open Resource’.
- Scroll down until you find the option: ‘Color Scheme — Default’ (or your theme with color scheme .tmTheme) and select it.
- Add the following
<!-- Operator Tweaks -->
<dict>
<key>name</key>
<string>Italic HTML attribute names</string>
<key>scope</key>
<string>
, entity.other.attribute-name.html,
, entity.other.attribute-name.event.html,
, entity.other.attribute-name.id.html,
, entity.other.attribute-name.class.html,
, entity.other.attribute-name.tag.jade,
, entity.other.attribute-name.tag.pug,
, constant.other.symbol.ruby,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#ffc600</string>
<key>fontStyle</key>
<string>italic</string>
</dict>
</dict>
<!-- End Operator Tweaks -->