Vibe.TUI.SourceBlock (vibe v0.2.0)

Copy Markdown View Source

Renders source-like TUI lines with block-level syntax highlighting.

Summary

Functions

source_lines(lines, language, width, theme)

@spec source_lines(
  [String.t()],
  atom() | String.t() | nil,
  pos_integer(),
  Vibe.TUI.Theme.t()
) :: [
  IO.chardata()
]