author | Jeff King <peff@peff.net> | |
Mon, 2 Jul 2007 05:24:59 +0000 (01:24 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 2 Jul 2007 08:33:44 +0000 (01:33 -0700) | ||
commit | 967506bbbdc38e75263d6e6a90e3b8dbba6cec0f | |
tree | 4065e793c7fb46125291dea34971dc6356604191 | tree | snapshot |
parent | a2f8028d3d661b314d5a784764f2f5f9e4c2dde0 | commit | diff |
Documentation: quote {non-attributes} for asciidoc
Asciidoc treats {foo} as an attribute to be substituted; if
'foo' doesn't exist as an attribute, then the entire line
gets dropped. When the literal {foo} is desired, \{foo} is
required.
The exceptions to this rule are:
- inside literal blocks
- if the 'foo' contains non-alphanumeric characters (e.g.,
{foo|bar} is assumed not to be an attribute)
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Asciidoc treats {foo} as an attribute to be substituted; if
'foo' doesn't exist as an attribute, then the entire line
gets dropped. When the literal {foo} is desired, \{foo} is
required.
The exceptions to this rule are:
- inside literal blocks
- if the 'foo' contains non-alphanumeric characters (e.g.,
{foo|bar} is assumed not to be an attribute)
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>