Typst.Format.Table.Header (Typst v0.1.4)
View SourceCreates a typst table.header()
and implements the String.Chars
protocol for easy EEx interpolation.
Examples
iex> alias Typst.Format.Table.Header
...> %Header{repeat: false, content: ["hello", "world"]} |> to_string()
"table.header(repeat: false, [hello], [world])"
Summary
Types
@type t() :: %Typst.Format.Table.Header{ content: String.Chars.t() | [String.Chars.t()], repeat: boolean() }