Skip to content

Commit ef82565

Browse files
committed
Update message doc to include TAB
1 parent 8e5dcef commit ef82565

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/messages.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,17 @@ A test group can contain test groups, but a test case can only contain test resu
5353

5454
Test case can contain one or more test results, and logs.
5555

56-
### Formatting
56+
### Displaying
5757

58-
Any line without a prefix described above is assumed to be a log output and rendered as is.
58+
Any line without a prefix described above is assumed to be a log output and rendered as is in a log container.
5959

6060
> NOTE: On Codewars, it tries to _guess_ if the line should be rendered as HTML for backwards compatibility. However, it should be updated to use the HTML mode explicitly.
6161
62-
- HTML: Prefix the message with `<LOG:HTML:>` to render it as HTML.
63-
- Labeling: Prefix the message with `<LOG::Custom Label>` to set the label used by the log container.
64-
- Collapsing: Prefix the message with a label starting with `-` (`<LOG::-Example>`) to collapse the output by default.
62+
- Explicit HTML: Prefix the message with `<LOG:HTML:>` to render it as HTML.
63+
- Custom Labeling: Prefix the message with `<LOG::Custom Label>` to set the label used by the log container.
64+
- Collapsed Logs: Prefix the message with a label starting with `-` (e.g., `<LOG::-Example>`) to collapse the output by default.
65+
- Adding Tabs: Prefix the message with `<TAB::Label>` to attach to the previous log container in a tab. This can be repeated to attach multiple tabs.
66+
6567

6668

6769
## Examples

0 commit comments

Comments
 (0)