From bea63c7b60d2553cee2c9eec824bfe8e8032ac93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 24 May 2019 21:53:41 +0200 Subject: [PATCH] doc: remove extra spaces before colons --- doc/en/weechat_plugin_api.en.adoc | 20 ++++++++++---------- doc/en/weechat_user.en.adoc | 12 ++++++------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 840b98ada..46914c9ae 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -7732,20 +7732,20 @@ Arguments: Format of color is: attributes (optional) + color name + ",background" (optional). Possible attributes are: -* `+*+` : bold text -* `+!+` : reverse video -* `+/+` : italic -* `+_+` : underlined text -* `+|+` : keep attributes: do not reset bold/reverse/italic/underlined when +* `+*+`: bold text +* `+!+`: reverse video +* `+/+`: italic +* `+_+`: underlined text +* `+|+`: keep attributes: do not reset bold/reverse/italic/underlined when changing color _(WeeChat ≥ 0.3.6)_ Examples: -* `+yellow+` : yellow -* `+_green+` : underlined green -* `+*214+` : bold orange -* `+yellow,red+` : yellow on red -* `+|cyan+` : cyan (and keep any attribute which was set previously) +* `+yellow+`: yellow +* `+_green+`: underlined green +* `+*214+`: bold orange +* `+yellow,red+`: yellow on red +* `+|cyan+`: cyan (and keep any attribute which was set previously) Return value: diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 431e0e3f6..c3d86b67e 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -917,11 +917,11 @@ For example: It is possible to use some attributes for colors. One or more attributes can be added before color name or number: -* `+*+` : bold text -* `+!+` : reverse video -* `+/+` : italic -* `+_+` : underlined text -* `+|+` : keep attributes: do not reset bold/reverse/italic/underlined when +* `+*+`: bold text +* `+!+`: reverse video +* `+/+`: italic +* `+_+`: underlined text +* `+|+`: keep attributes: do not reset bold/reverse/italic/underlined when changing color For example if you want self nick as white underlined, do: @@ -1333,7 +1333,7 @@ Following pointers are available: * `+${buffer}+`: the buffer of window where condition is evaluated Example to display nicklist bar in all buffers with a nicklist, and only if -width of window is > 100 : +width of window is > 100: ---- /set weechat.bar.nicklist.conditions "${nicklist} && ${window.win_width} > 100"