2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-28 00:13:23 +00:00

Destroyed Ansikit (markdown)

sammyette 2021-10-16 11:16:38 -04:00
parent dca6e5ef42
commit 2a0d2f8e3c

@ -1,16 +0,0 @@
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)).
To require:
```lua
local ansikit = require 'ansikit'
```
# Functions
### AnsiKit.format(string)
Formats `string`, replacing `{keys}` with appropriate color codes.
#### Example
```lua
print(ansikit.format '{blue}blue text hello {green}im green{reset}')
```