How to change the color of the text in Markdown?
  • 03 Aug 2022
  • 1 Minute à lire
  • Contributeurs
  • Sombre
    Lumière
  • PDF

How to change the color of the text in Markdown?

  • Sombre
    Lumière
  • PDF

There is no French content available for this article, You are viewing the fallback version (English).

You would want to change the text color of certain content in your articles. You can easily perform this action in the WYSIWYG editor with the 'Text color' option in the toolbar. However, there is no option to change the text color in Markdown. Follow the below workaround to change the text color in Markdown.

Solution

  1. Go to the desired article in the Knowledge base portal
  2. Paste the below code in the desired location where you want the text to appear
<span style="color:red">
Text_content
</style>
  1. Replace the 'Text_content' with your desired text
  2. Replace the color with your desired color

In the above sample code, color is mentioned as red.

  1. The output would be as below

    Text_content

Cet article vous a-t-il été utile ?