Sublime Forum

Is it possible to apply different colors for different lines?

#1

Hi,
I use Sublime Text for writing technical documentation and I really enjoy this tool.

I am currently facing an issue though - Is it possible to apply different colours for different lines of text in Sublime Text? For instance, I would like to apply red color for the first line, blue for the second line and grey for the third line. These three color codings should be displayed in the output when I publish as .html.

If yes, please explain.

Thanks in advance,
Kala

0 Likes

#2

I’m not sure what are you actually referring to ? Sublime Text is a text editor. It just helps you write stuff/code. The output of any .html file is not controlled by ST. You have css/sass/less for that if you want to style it.

0 Likes

#3

Ok. I use Sublime Text to write/update technical documents such as User Manual. So, I was wondering whether it has some commands by which I can apply different color coding in the text without modifying the CSS file.

Thanks.

0 Likes