mirror of
https://github.com/RGBCube/color.v
synced 2025-07-30 17:37:45 +00:00
Add docs link to readme and center
This commit is contained in:
parent
82046d6a37
commit
5beb5f490d
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -1,7 +1,13 @@
|
|||
<div align="center">
|
||||
|
||||
# color.v
|
||||
|
||||
[Docs](https://rgbcube.github.io/docs/color)
|
||||
|
||||
A V library to aid in printing colored text to the terminal.
|
||||
|
||||
</div>
|
||||
|
||||
## Installation
|
||||
|
||||
After doing these, you can use the module in your V programs by importing `rgbcube.color`.
|
||||
|
@ -24,7 +30,7 @@ Here are some examples to get you started:
|
|||
|
||||
### Basic
|
||||
|
||||
```v
|
||||
```v oksyntax
|
||||
import rgbcube.color
|
||||
|
||||
color.red.println('Hello World')
|
||||
|
@ -34,7 +40,7 @@ color.bold.println('Hello World')
|
|||
|
||||
### Advanced
|
||||
|
||||
```v
|
||||
```v oksyntax
|
||||
import rgbcube.color
|
||||
|
||||
brush := color.new_brush(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue