"You were wrong case.
To live here is to live."
out.println(..)in java code are hard to write, maintain and read. A hash section is a simple way to output HTML/text from within java code without having to use
# ..text/html here (can be any number of lines).. #
To prevent the tag from being recognized, this tag can be escaped by prefixing the start tag with a backslash: \#
The parser is aware of valid java statements and java code. Therefore any # appearing inside java strings is ignored. For example:
[[ String foo = "abc#123"; ]]The # in
abc#123does not start a hash section. (so java code works with no modifications inside a code section).
The following is a valid hash section (and note, not valid java code so there is no overlap between a hash section and valid java code).
[[ String foo = "abc#123"; # Hello World ! # ]]
Since literal # characters are very common in HTML, the parser makes a special exception to the tag-escape rule. You don't have to know this rule, just use normal escapes when needed, but if you want to save some typing,
|Array \#[= n] :||[= list.get(n) ]|
|Array #0 :||123|
|Array #1 :||456|