Skip to content

Add indentation and new lines #72

@joaonc

Description

@joaonc

Seems like the spaces on each line are stripped and the only way to add a new line is by a line with just ...

It would be awesome to have escape characters that add new lines and indentation (\n and \t, for example) so that our [Documentation] tag doesn't get too big and hard to read.

Ex.:

[Documentation]  Gets n different receipt files in the receipts folder.
...
...              The files need to have the format _'receipts-XX'_ for single page receipts and _'receipt-multipage-XX'_
...              for multipage receipts and they need to be in the receipts folder.
...
...              Use the keyword ``Get Receipt Assets Path`` to get the full path to the receipt file(s).
...
...  *Arguments:*
...
...              ``NumberOfReceipts``: The number of receipt files to be returned.
...
...                  If getting one receipt, the file name is returned (no path) as string.
...
...                  If getting more than one, a list of file names is returned.
...
...              ``Pages``: Can have the following values:
...
...                     _Single_: Return only single page receipts (_'receipts-XX'_).
...
...                     _Multipage_: Return only multiple page receipts (_'receipts-multipage-XX'_).
...
...                     _Both_: Return both single and multiple page receipts.

would be more readable in the code and html with a few of the escape chars:

[Documentation]  Gets n different receipt files in the receipts folder.
...  \n          The files need to have the format _'receipts-XX'_ for single page receipts and _'receipt-multipage-XX'_
...              for multipage receipts and they need to be in the receipts folder.
...  \n          Use the keyword ``Get Receipt Assets Path`` to get the full path to the receipt file(s).
...
...  *Arguments:*\n
...              ``NumberOfReceipts``: The number of receipt files to be returned.
...  \n\t            If getting one receipt, the file name is returned (no path) as string.
...  \n\t            If getting more than one, a list of file names is returned.
...
...              ``Pages``: Can have the following values:
... \n\t                _Single_: Return only single page receipts (_'receipts-XX'_).
... \n\t                _Multipage_: Return only multiple page receipts (_'receipts-multipage-XX'_).
... \n\t                _Both_: Return both single and multiple page receipts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions