Skip to content

Commit

Permalink
Fix for cucumber#622 by copying the corresponding documentation from …
Browse files Browse the repository at this point in the history
…the Gherkin specification.
  • Loading branch information
christianhujer committed May 26, 2021
1 parent 235bd72 commit f98d043
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/docs/gherkin/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,14 @@ Given the following users exist:
```
Just like `Doc Strings`, `Data Tables` will be passed to the step definition as the last argument.

### Table Cell Escaping

If you want to use a newline character in a table cell, you can write this
as `\n`. If you need a `|` as part of the cell, you can escape it as `\|`. And
finally, if you need a `\`, you can escape that with `\\`.

### Data Table API

Cucumber provides a rich API for manipulating tables from within step definitions.
See the [Data Table API reference](https://github.com/cucumber/cucumber/tree/master/datatable) reference for
more details.
Expand Down

0 comments on commit f98d043

Please sign in to comment.