html-mode

How do I set the colour of a custom tag in html-mode

混江龙づ霸主 提交于 2020-01-06 05:37:07
问题 Trying to get a mode to work with silverstipe templates. How do I set the background of the <% %> tag to be a darker color? 回答1: You can customize any face using the customization system, but the trick is to know which face you have to edit to get the look that you want. There is a shortcut you can use in this case: position the point over the text in question and run M-x describe-face. This asks for a face name, but the default if you leave the input blank is the face used by the text at