From: Luke Bonham Date: Sat, 7 Sep 2013 13:42:07 +0000 (-0700) Subject: Updated Utilities (markdown) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/7024730f8ffe06bdc66294a85f362444b371f9b0?ds=inline Updated Utilities (markdown) --- diff --git a/Utilities.md b/Utilities.md index 4fc80e4..168d95f 100644 --- a/Utilities.md +++ b/Utilities.md @@ -5,7 +5,7 @@ markup This is a submodule which helps you markupping your text. -First, call it like this: +First, require it like this: local markup = require("lain.util.markup") @@ -40,6 +40,11 @@ then you can call its functions: |`-- normal() Set both foreground and background normal colors. `-- urgent() Set both foreground and background urgent colors. +they all take one argument, which is the text to markup, except `fg.color()` and `bg.color()`: + + markup.fg.color(text, color) + markup.bg.color(text, color) + menu\_clients\_current\_tags ----------------------------