token, find the rows in
pd that need to be indented.
A parse table.
A character vector with tokens that could induce indention for subsequent tokens.
A character vector with tokens that could terminate
indention for previous tokens. If
Two cases are fundamentally different:
Indention based on operators (e.g '+'), where all subsequent tokens should be indented.
Indention based on braces (e.g. '('), where just the tokens between the opening and the closing brace have to be indented.
To cover the second case, we need
token_closing because it cannot be taken
for granted that
token_closing is always the last token in
example in if-else expressions, this is not the case and indenting
everything between '(' and the penultimate token would result in the wrong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.