summaryrefslogtreecommitdiffstats
path: root/Util
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-06-18 10:55:45 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-06-18 10:55:45 +0000
commita2159285e80508bb682d90a71270fbddada8bd05 (patch)
treec491bf7a28d7f8fac7ab05cc860c01dea95c19b1 /Util
parentzsh-3.1.5-pws-21 (diff)
downloadzsh-a2159285e80508bb682d90a71270fbddada8bd05.tar
zsh-a2159285e80508bb682d90a71270fbddada8bd05.tar.gz
zsh-a2159285e80508bb682d90a71270fbddada8bd05.tar.bz2
zsh-a2159285e80508bb682d90a71270fbddada8bd05.tar.lz
zsh-a2159285e80508bb682d90a71270fbddada8bd05.tar.xz
zsh-a2159285e80508bb682d90a71270fbddada8bd05.tar.zst
zsh-a2159285e80508bb682d90a71270fbddada8bd05.zip
zsh-3.1.5-pws-22zsh-3.1.5-pws-22
Diffstat (limited to 'Util')
-rw-r--r--Util/zsh-development-guide18
1 files changed, 18 insertions, 0 deletions
diff --git a/Util/zsh-development-guide b/Util/zsh-development-guide
index a37abfe32..f8e331f54 100644
--- a/Util/zsh-development-guide
+++ b/Util/zsh-development-guide
@@ -504,3 +504,21 @@ Documentation
ocurring in the main text, "plugh" is a normal word that is being quoted
(it's the user that says `plugh', not the documentation), and "xyzzy"
is some text to be typed literally that is being quoted.
+
+* For multiple-line pieces of text that should not be filled, there are
+ various models.
+ - If the text is pure example, i.e. with no metasyntactic variables etc.,
+ it should be included within `example(...)'. The text will be
+ indented, will not be filled and will be put into a fixed width font.
+ - If the text includes mixed fonts, it should be included within
+ `indent(...)'. As with `example()', the text is not filled, but now
+ explicit font-changing commands are required inside.
+ - If the text appears inside some other format, such as for example the
+ `item()' list structure, then the instruction `nofill(...)', which
+ simply turns off filling should be used; as with `indent(...)',
+ explicit font changing commands are required. This is also an
+ alternative to `indent()' when no identation is required, e.g. if the
+ accumulated indentation would otherwise be too long.
+ All the above should appear on their own, separated by newlines from the
+ surrounding text. No extra newlines after the opening or before the
+ closing parenthesis are required.