KinoElixirDataViewer (KinoElixirDataViewer v0.1.4)

Copy Markdown View Source

Elixir Data Viewer integration with Livebook.

This package provides a Kino component for rendering Elixir data structures with syntax highlighting, code folding, line numbers, and the Tokyo Night theme.

Setup

Add :kino_elixir_data_viewer as a dependency in your Livebook notebook:

Mix.install([
  {:kino_elixir_data_viewer, "~> 0.1.0"}
])

Usage

Use Kino.ElixirDataViewer.new/2 to render any Elixir term:

data = %{name: "Alice", age: 30, roles: [:admin, :user]}
Kino.ElixirDataViewer.new(data)

See Kino.ElixirDataViewer for full documentation.