Updated Utilities (markdown)

This commit is contained in:
Luke Bonham 2013-09-07 06:42:07 -07:00 committed by copycat-killer
parent 63c18e957f
commit 7024730f8f
1 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,7 @@ markup
This is a submodule which helps you markupping your text. 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") local markup = require("lain.util.markup")
@ -40,6 +40,11 @@ then you can call its functions:
|`-- normal() Set both foreground and background normal colors. |`-- normal() Set both foreground and background normal colors.
`-- urgent() Set both foreground and background urgent 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 menu\_clients\_current\_tags
---------------------------- ----------------------------