Run this notebook

Use Livebook to open this notebook and explore new ideas.

It is easy to get started, on your machine or the cloud.

Click below to open and run it in your Livebook at .

(or change your Livebook location)

<!-- livebook:{"app_settings":{"slug":"diff"}} --> # Livebook Examples ```elixir Mix.install([ {:kino_diff, "~> 0.1.0"} ]) ``` ## Example ```elixir KinoDiff.new( """ a b Example 2 a x y Render string diffs from Livebook """, """ a b dasdads Example 1 x y """, layout: :split, wrap: true ) ``` ```elixir KinoDiff.new( """ a b dasdads Example 1 x y """, """ a b Example 2 a x y Render string diffs from Livebook. Render string diffs from Livebook """, layout: :split ) ``` ```elixir KinoDiff.new( """ Elixir is: - dynamic - functional - scalable - maintainable """, """ Elixir is: - dynamically typed - functional - fun - maintainable """, layout: :split ) ``` ```elixir KinoDiff.new( """ Elixir is: - dynamically typed - functional - scalable - fun - maintainable """, """ Elixir is: - dynamic - functional - scalable - maintainable """, layout: :split ) ``` ```elixir KinoDiff.new( "Elixir is a dynamic, functional language for building scalable and maintainable applications.", "Elixir is a functional language for building scalable and maintainable applications on a number of devices.", layout: :inline, wrap: true ) ``` ```elixir KinoDiff.new( "Elixir is a dynamic, functional language for building scalable and maintainable applications.", "Elixir is a functional language for building scalable and maintainable applications on a number of devices.", layout: :inline, wrap: false ) ```
See source

Have you already installed Livebook?

If you already installed Livebook, you can configure the default Livebook location where you want to open notebooks.
Livebook up Checking status We can't reach this Livebook (but we saved your preference anyway)
Run notebook

Not yet? Install Livebook in just a minute

Livebook is open source, free, and ready to run anywhere.

Run on your machine

with Livebook Desktop

Run in the cloud

on select platforms

To run on Linux, Docker, embedded devices, or Elixir’s Mix, check our README.

PLATINUM SPONSORS
SPONSORS
Code navigation with go to definition of modules and functions Read More ×