Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de1f880

Browse files
committed
Update snippets.md
1 parent 356d9f3 commit de1f880

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Snippets.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,16 @@ echo -e "Name\t\tNumber"; echo -e "Scott\t\t123"
194194
echo -e "This text\nbreaks over\nthree lines"
195195
echo -e "\a"
196196
echo -e "Ding\a"
197+
```
198+
199+
```bash
200+
#!/usr/bin/env bash
197201
echo -e "\033[33;44mColor Text\033[0m"
198-
echo -e "\033[91;100mColor Text\033[0m"
199-
echo -e "\033[91;100mColor Text"
200-
echo -e "\033[33;44mColor Text"
202+
echo -e "\033[30;42mColor Text\033[0m"
203+
echo -e "\033[41;105mColor Text"
204+
echo "some text that shouldn't have styling"
205+
echo -e "\033[0m"
206+
echo "some text that shouldn't have styling"
201207
echo -e "\033[4;31;40mERROR:\033[0m\033[31;40m Something went wrong.\033[0m"
202208
```
203209

0 commit comments

Comments
 (0)