diff --git a/Ansikit.md b/Ansikit.md index b0cbc9b..603f1c0 100644 --- a/Ansikit.md +++ b/Ansikit.md @@ -6,11 +6,11 @@ local ansikit = require 'ansikit' ``` # Functions -### AnsiKit.text(string) +### AnsiKit.format(string) Formats `string`, replacing `{keys}` with appropriate color codes. #### Example ```lua -print(ansikit.text "{blue}blue text hello {green}im green{reset}") +print(ansikit.format '{blue}blue text hello {green}im green{reset}') ``` \ No newline at end of file