Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add font color #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
23. [Diagrams](#diagrams)
24. [FootNote](#footnote)
25. [Comments](#comments)
26. [Font color](#font-color)

Many Thanks to all the `Stargazers` who has supported this project with stars(⭐)

Expand Down Expand Up @@ -642,3 +643,26 @@ This is Line Number 3.
This is Line Number 1.
<!---This is Line Number 2 and would not be rendered as this is a comment. --->
This is Line Number 3.


## Font color

**Explanation:**
<br>You may want to color the font in multiple scenarios e.g. adding a note, adding status for an activity.


**Syntax**

```
<span style="color: red;">Note: </span> This is a note.
<span style="color: yellow;">Warn: </span> `<span>` tag may not work in all markdown editors.
<span style="color: green;">Passed: </span> This test case is passed.
```

**Output**

<span style="color: red;">Note: </span> This is a note.
<br>
<span style="color: yellow;">Warn: </span> `<span>` tag may not work in all markdown editors.
<br>
<span style="color: green;">Passed: </span> This test case is passed.