How to color text on github markdown?

I am trying to color a block of text that should be included in an article in a git repository accessible to people. I am trying to color the word to bring the desired effect. Is there a way to use css styles for colored text since github no longer supports styles?

I am currently using the code below, which does not work on github. Help is appreciated.

<center> <h1>2014, The year of <span style="color:red">Red</span></h1> </center> 
+5
source share
1 answer

There is no such feature available right now. An alternative could be coloring in blue using the links:

 # 2014, The year of [Blue](#) 

This will produce the following output:

If you really want to have a different color, another alternative is to use an image ( like this one for example).

Then you can enable it as shown below:

 # 2014, The year of ![](https://cloud.githubusercontent.com/assets/2864371/10368192/cad27ed0-6ddc-11e5-8150-4f9c14ab9602.png) 

+5
source

Source: https://habr.com/ru/post/1233247/


All Articles