# `Typst.Format.Table.Cell`
[🔗](https://github.com/Hermanverschooten/typst/blob/main/lib/format/table.ex#L74)

Creates a typst [`table.cell()`](https://typst.app/docs/reference/model/table/#definitions-cell) and implements the `String.Chars` protocol for easy EEx interpolation.

## Examples

    iex> alias Typst.Format.Table.Cell
    ...> %Cell{x: 2, content: ["hello", "world"]} |> to_string()
    "table.cell(x: 2, [hello], [world])"

# `t`

```elixir
@type t() :: %Typst.Format.Table.Cell{
  align: String.t(),
  breakable: boolean(),
  colspan: non_neg_integer(),
  content: String.Chars.t() | [String.Chars.t()],
  fill: String.t(),
  inset: String.t(),
  rowspan: non_neg_integer(),
  stroke: String.t(),
  x: non_neg_integer(),
  y: non_neg_integer()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
