Update readme.md again

This commit is contained in:
Felix Albrigtsen 2021-03-23 21:41:52 +01:00 committed by GitHub
parent 3827a945f1
commit 53ab16c54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ Call cprint(str), inserting the cprint codes surrounded by percent signs(Ex. bel
Using getString(str) directly returns a string instead of printing to stdout. Using getString(str) directly returns a string instead of printing to stdout.
Several color tags and modifiers can be used in the same tag if they are separated by a comma Several color tags and modifiers can be used in the same tag if they are separated by a comma
### ### Colors
Text colors are denoted with the first lower case letter Text colors are denoted with the first lower case letter
-> (r)ed (g)reen (b)lue (c)yan (m)agenta (y)ellow (bl)ack (w)hite -> (r)ed (g)reen (b)lue (c)yan (m)agenta (y)ellow (bl)ack (w)hite
Background colors are the same, but with a leading "b" Background colors are the same, but with a leading "b"
@ -25,4 +25,4 @@ cprint("%bw,b%This text is blue on white, %B,U,I% this is bold, underlined and w
cprint("%warning%This is a warning!") cprint("%warning%This is a warning!")
cprint("%error%And this is an error") cprint("%error%And this is an error")
``` ```
![Screenshot of example code](cprint-screenshot.jpg "Example") ![Screenshot of example code](cprint-screenshot.png "Example")