How to edit text in Atom?


#1

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.


#2

Like this?

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

#4

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


#5

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


#6

What error?