mirror of
https://github.com/RGBCube/color.v
synced 2025-07-31 09:57:47 +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
|
# color.v
|
||||||
|
|
||||||
|
[Docs](https://rgbcube.github.io/docs/color)
|
||||||
|
|
||||||
A V library to aid in printing colored text to the terminal.
|
A V library to aid in printing colored text to the terminal.
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
After doing these, you can use the module in your V programs by importing `rgbcube.color`.
|
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
|
### Basic
|
||||||
|
|
||||||
```v
|
```v oksyntax
|
||||||
import rgbcube.color
|
import rgbcube.color
|
||||||
|
|
||||||
color.red.println('Hello World')
|
color.red.println('Hello World')
|
||||||
|
@ -34,7 +40,7 @@ color.bold.println('Hello World')
|
||||||
|
|
||||||
### Advanced
|
### Advanced
|
||||||
|
|
||||||
```v
|
```v oksyntax
|
||||||
import rgbcube.color
|
import rgbcube.color
|
||||||
|
|
||||||
brush := color.new_brush(
|
brush := color.new_brush(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue