mirror of https://github.com/lcpz/lain.git
Updated Utilities (markdown)
This commit is contained in:
parent
ee627f468c
commit
2b664e5d77
|
@ -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
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue