How to edit text in Atom?


I want to know how to edit my text such that the keywords are shown in italics and other as normal.
Is there any way to do it in style.less. This is my first question in the forum, So please forgive me if I asked the wrong question here.


Like this?

.syntax--keyword {
  font-style: italic;


thanks you solved the issue by giving this syntax, I was able to play around and got desired result.


my problem is also in text keywords in italics and i’m unable understand in putting the syntax and when i’m writting the above syntax it showing the error in starting of the program


What error?