From 19a7003b34b82423760f9187dad9e4675995ac57 Mon Sep 17 00:00:00 2001 From: copycat-killer Date: Sat, 28 Jan 2017 23:35:27 +0100 Subject: [PATCH] markup: added fontfg and fontbg --- util/markup.lua | 10 ++++++++++ wiki | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/util/markup.lua b/util/markup.lua index 346cfe1..0d3b17a 100644 --- a/util/markup.lua +++ b/util/markup.lua @@ -44,6 +44,16 @@ function markup.color(fg, bg, text) return string.format('%s', fg, bg, text) end +-- Set font and foreground. +function markup.fontfg(font, fg, text) + return string.format('%s', font, fg, text) +end + +-- Set font and background. +function markup.fontbg(font, bg, text) + return string.format('%s', font, bg, text) +end + -- Set font, foreground and background. function markup.fontcolor(font, fg, bg, text) return string.format('%s', font, fg, bg, text) diff --git a/wiki b/wiki index 3216fb7..52bb0c1 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 3216fb787a4cb3fbefd8549b2e1323f9412e788e +Subproject commit 52bb0c1757addd08ca4de6b7c02444b32a9497ef -- 2.39.5