Typst.Format.Table.Cell (Typst v0.1.4)
View SourceCreates a typst table.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])"
Summary
Types
@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: term(), rowspan: non_neg_integer(), stroke: String.t(), x: non_neg_integer(), y: non_neg_integer() }