doc: textbox:set_markup: link to Pango markup documentation

This commit is contained in:
Daniel Hahler 2015-08-13 16:12:29 +02:00
parent f79b083e97
commit b33cffd851

View file

@ -53,9 +53,10 @@ function textbox:fit(width, height)
return logical.width, logical.height
end
--- Set the text of the textbox (with Pango markup).
-- @param text The text to set. This can contain pango markup (e.g.
-- `<b>bold</b>`). You can use awful.util.escape to escape
--- Set the text of the textbox (with
-- [Pango markup](https://developer.gnome.org/pango/stable/PangoMarkupFormat.html)).
-- @tparam string text The text to set. This can contain pango markup (e.g.
-- `<b>bold</b>`). You can use `awful.util.escape` to escape
-- parts of it.
function textbox:set_markup(text)
if self._markup == text then