Thursday, January 16, 2025
HomeProgrammingHow to apply color on text in Markdown?

How to apply color on text in Markdown?

Markdown itself does not support text color directly. However, you can apply color to text using HTML tags within Markdown files. To do so, use the HTML tag with the style attribute for color. Here’s an example:

See also  What does the toupper() function do in C?

This is normal text, and this is red text.

In some Markdown renderers, like those used in GitHub, you can also use other formatting techniques, such as adding images or using specific syntax, but for text color specifically, HTML is the most reliable method. Keep in mind that not all Markdown processors support inline HTML.

RELATED ARTICLES
0 0 votes
Article Rating

Leave a Reply

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
- Advertisment -

Most Popular

Recent Comments

0
Would love your thoughts, please comment.x
()
x