-
Print
-
DarkLight
-
PDF
How to change the color of the text in Markdown?
If you wish to change the text color of specific 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
- Go to the desired article in the Knowledge base portal (Markdown editor)
- Paste the below code in the desired location where you want the text to appear in the article
Code
<span style="color:red">
Text content
</span>
- Replace the 'Text content' with your desired text
- Replace the color with your desired color
The above sample code mentions the color as 'red'
Output
Text contentWas this article helpful?