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/2b664e5d77ceaa6f0c7d48e18c4940ad7ac043ea?hp=ee627f468c6f390534c551f7bc6fa1c55e4772f5 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 ----------------------------