aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Formats.pod
diff options
context:
space:
mode:
authorTom Feist <shabble@cowu.be>2010-07-21 19:58:21 +0000
committerTom Feist <shabble@cowu.be>2010-07-21 19:58:21 +0000
commit5a5c6461b163f00b9d4e2c8265b0ebb10c2be2e1 (patch)
treeb26db98f51e33d015642a997dea1654601b918c3 /docs/Formats.pod
parentstubbed out empty files, mroe content in Guide (diff)
downloadirssi-scripts-5a5c6461b163f00b9d4e2c8265b0ebb10c2be2e1.tar.gz
irssi-scripts-5a5c6461b163f00b9d4e2c8265b0ebb10c2be2e1.zip
added formats, and some copypasta from default.theme comments into theme
Diffstat (limited to 'docs/Formats.pod')
-rw-r--r--docs/Formats.pod37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/Formats.pod b/docs/Formats.pod
new file mode 100644
index 0000000..0902d78
--- /dev/null
+++ b/docs/Formats.pod
@@ -0,0 +1,37 @@
+__END__
+
+=head1 NAME
+
+Formats
+
+=head1 DESCRIPTION
+
+Irssi's colors that you can use in text formats, hilights, etc:
+
+ text text background
+ ---------------------------------------------------------------------
+ %k %K %0 black dark grey black
+ %r %R %1 red bold red red
+ %g %G %2 green bold green green
+ %y %Y %3 yellow bold yellow yellow
+ %b %B %4 blue bold blue blue
+ %m %M %5 magenta bold magenta magenta
+ %p %P magenta (think: purple)
+ %c %C %6 cyan bold cyan cyan
+ %w %W %7 white bold white white
+ %n %N Changes the color to "default color", removing
+ all other coloring and formatting. %N is always
+ the terminal's default color. %n is usually too,
+ except in themes it changes to "previous color",
+ ie. hello = "%Rhello%n" and "%G{hello} world"
+ would print hello in red, and %n would turn back
+ into %G making world green.
+ %F Blinking on/off (think: flash)
+ %U Underline on/off
+ %8 Reverse on/off
+ %9 %_ Bold on/off
+ %: Insert newline
+ %| Marks the indentation position
+ %# Monospace font on/off (useful with lists and GUI)
+ %% A single %
+