Boxart.CodeNode.CodeLabel (Boxart v0.3.2)

Copy Markdown View Source

Formatted code block ready for rendering.

Summary

Types

line()

@type line() :: {String.t(), String.t() | [{String.t(), String.t()}]}

t()

@type t() :: %Boxart.CodeNode.CodeLabel{
  height: non_neg_integer(),
  lines: [line()],
  width: non_neg_integer()
}