summaryrefslogtreecommitdiff
path: root/doc/en/weechat_user.en.asciidoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-05-06 23:02:34 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-05-14 09:42:57 +0200
commit4180ddff0f1289dba9a0523914f182011898f174 (patch)
tree3f2f0c955b0cdc06e8ef8b0a9a784f46a04b434b /doc/en/weechat_user.en.asciidoc
parentf8f313569cc169d57670a4235a341e0cb317e586 (diff)
downloadweechat-4180ddff0f1289dba9a0523914f182011898f174.zip
doc: use a table for input of IRC color codes in user's guide (issue #722)
Diffstat (limited to 'doc/en/weechat_user.en.asciidoc')
-rw-r--r--doc/en/weechat_user.en.asciidoc34
1 files changed, 14 insertions, 20 deletions
diff --git a/doc/en/weechat_user.en.asciidoc b/doc/en/weechat_user.en.asciidoc
index c55cba9f3..7a4a2b07a 100644
--- a/doc/en/weechat_user.en.asciidoc
+++ b/doc/en/weechat_user.en.asciidoc
@@ -1395,26 +1395,20 @@ For example, to send text '/set' on current buffer:
For some plugins like IRC, you can use color codes and attributes, as
follow (press kbd:[Ctrl+c] then following letter, with optional value):
-kbd:[Ctrl+c], kbd:[b]::
- bold text
-
-kbd:[Ctrl+c], kbd:[c], kbd:[xx]::
- text color `xx` (see list of colors below)
-
-kbd:[Ctrl+c], kbd:[c], kbd:[xx], kbd:[,], kbd:[yy]::
- text color `xx` and background `yy` (see list of colors below)
-
-kbd:[Ctrl+c], kbd:[i]::
- italic text
-
-kbd:[Ctrl+c], kbd:[o]::
- disable color and attributes
-
-kbd:[Ctrl+c], kbd:[v]::
- reverse video (revert text color with background)
-
-kbd:[Ctrl+c], kbd:[_]::
- underlined text
+[width="60%",cols="3,5",options="header"]
+|===
+| Key | Description
+| kbd:[Ctrl+c], kbd:[b] | bold text
+| kbd:[Ctrl+c], kbd:[c],
+ kbd:[xx] | text color `xx` (see list of colors below)
+| kbd:[Ctrl+c], kbd:[c],
+ kbd:[xx], kbd:[,],
+ kbd:[yy] | text color `xx` and background `yy` (see list of colors below)
+| kbd:[Ctrl+c], kbd:[i] | italic text
+| kbd:[Ctrl+c], kbd:[o] | disable color and attributes
+| kbd:[Ctrl+c], kbd:[v] | reverse video (revert text color with background)
+| kbd:[Ctrl+c], kbd:[_] | underlined text
+|===
[NOTE]
The same code (without number for kbd:[Ctrl+c], kbd:[c]) can be used to stop the