Skip to content

Commit f510e1b

Browse files
Update README.md
1 parent 6565959 commit f510e1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ println!("{}", "Hello, world!".fg(red()));
2525

2626
Output:
2727

28-
<code style="color: red">Hello, world!</code>
28+
![Red on natural](https://i.imgur.com/odonuth.png)
2929

3030
# Background colors
3131

@@ -37,7 +37,7 @@ println!("{}", "Hello, world!".bg(red()));
3737

3838
Output:
3939

40-
<code style="background: red">Hello, world!</code>
40+
![Natural on red](https://i.imgur.com/fU1unJ9.png)
4141

4242
# Mix and match
4343

@@ -58,7 +58,7 @@ println!("{}", "Yuck".fg(fg).bg(bg));
5858

5959
Output:
6060

61-
<code style="color: #7BE76F; background: #0A6414">Yuck</code>
61+
![Yuck](https://i.imgur.com/ippM4tf.png)
6262

6363
# Anything formattable
6464

@@ -72,7 +72,7 @@ println!("{:?}", foo.fg(green()));
7272

7373
Output:
7474

75-
<code style="color: #00FF00">Foo(1, 2)</code>
75+
![Green foo](https://i.imgur.com/f3sFuIV.png)
7676

7777
# Windows users
7878

0 commit comments

Comments
 (0)