@@ -2733,7 +3239,7 @@ a/b/c
- If <indentString> is set to \n and <levels> is always set to 1, this function can even be used to doubelspace text!
+ If <indentString> is set to \n and <levels> is always set to 1, this function can even be used to doublespace text!
|
@@ -2742,273 +3248,65 @@ a/b/c
It has quite a few arguments, however:
-
-
-
{{ extIndent <levels> <skipFirst> <skipEmpty> <skipWhitespace> <indentString> <input> }}
-
-
-
-
-
--
-
<levels>: The level of indentation for the text. If less than or equal to 0, extIndent just returns <input> as-is and NO-OPs otherwise.
-
--
-
<skipFirst>: If true, skip indenting the first line. This is particularly handy if you like to visually align your function calls in your templates.
-
--
-
<skipEmpty>: If true, do not add an indent to empty lines (where an "empty line" means "only has a linebreak").
-
--
-
<skipWhitespace>: If true, do not add an indent to lines that only consist of whitespace (spaces, tabs, etc.) and a linebreak.
-
--
-
<indentString>: The string to use as the "indent character". This can be any string, such as " ", "\t", ".", "|", "==" etc.
-
--
-
<input>: The text to be indented. Because it is the last argument, extIndent works with pipelined text as well.
-
-
-
-