Branch from setup on Kino guide (#678)

This commit is contained in:
José Valim 2021-11-05 08:14:29 +01:00 committed by GitHub
parent 982a345ddc
commit 49a406b579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,8 @@ Mix.install([
alias VegaLite, as: Vl
```
<!-- livebook:{"branch_parent_index":0} -->
## Kino.VegaLite
In the [Plotting with VegaLite](/explore/notebooks/intro-to-vega-lite) notebook we show
@ -84,6 +86,8 @@ Kino.VegaLite.periodically(widget, 25, 0, fn i ->
end)
```
<!-- livebook:{"branch_parent_index":0} -->
## Kino.ETS
You can use `Kino.ETS.new/1` to render ETS tables and easily
@ -112,6 +116,8 @@ end
Having the rows inserted, click on the "Refetch" icon in the table output
above to see them.
<!-- livebook:{"branch_parent_index":0} -->
## Kino.DataTable
When it comes to tables, we are not limited to ETS! You can render
@ -149,6 +155,8 @@ Kino.DataTable.new(
We can sort by the number of reductions to identify the
most busy processes!
<!-- livebook:{"branch_parent_index":0} -->
## Kino.Markdown
Sometimes you may want to render arbitrary content as rich-text,
@ -176,6 +184,8 @@ A regular Markdown file.
|> Kino.Markdown.new()
````
<!-- livebook:{"branch_parent_index":0} -->
## Kino.render/1
As we saw, Livebook automatically recognises widgets returned