mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-29 00:43:24 +00:00
Created Ansikit (markdown)
parent
05eaa37430
commit
5e71b0f3cc
12
Ansikit.md
Normal file
12
Ansikit.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Ansikit is an ANSI code library, it makes it so you just have to write simple functions instead of making a big mess trying to make your prompt blue :)
|
||||||
|
It's a port of a Node.js library by the same name ([which is made by me, sammy](https://github.com/Luvella/AnsiKit)).
|
||||||
|
|
||||||
|
# Functions
|
||||||
|
### AnsiKit.text(string)
|
||||||
|
|
||||||
|
Formats `string`, replacing `{keys}` with appropriate color codes.
|
||||||
|
|
||||||
|
#### Example
|
||||||
|
```lua
|
||||||
|
print(ansikit.text "{blue}blue text hello {green}im green{reset}")
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user