defmodule Kino.HTML do @moduledoc ~S''' A kino for rendering HTML content. The HTML may include ` """) ''' use Kino.JS, assets_path: "lib/assets/html" @type t :: Kino.JS.t() @doc """ Creates a new kino displaying the given HTML. """ @spec new(String.t()) :: t() def new(html) when is_binary(html) do Kino.JS.new(__MODULE__, html) end end