mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-07 20:16:31 +08:00
Update Welcome notebook (#154)
This commit is contained in:
parent
535f7882b0
commit
caea9610ad
1 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ defmodule Livebook.Notebook.Welcome do
|
||||||
```elixir
|
```elixir
|
||||||
# This is an Elixir cell - as the name suggests that's where the code goes.
|
# This is an Elixir cell - as the name suggests that's where the code goes.
|
||||||
# To evaluate this cell, you can either press the "Evaluate" button above
|
# To evaluate this cell, you can either press the "Evaluate" button above
|
||||||
# or use `Ctrl + Enter`!
|
# or use `Ctrl + Enter` (or Cmd + Enter on a Mac)!
|
||||||
|
|
||||||
message = "hey, grab yourself a cup of 🍵"
|
message = "hey, grab yourself a cup of 🍵"
|
||||||
```
|
```
|
||||||
|
@ -139,9 +139,9 @@ defmodule Livebook.Notebook.Welcome do
|
||||||
modules available as well.
|
modules available as well.
|
||||||
|
|
||||||
But there are cases when you just want to play around with a new package
|
But there are cases when you just want to play around with a new package
|
||||||
or quickly prototype some code that relies on such. Fortunately, starting
|
or quickly prototype some code that relies on such. Fortunately, Elixir v1.12+ ships with
|
||||||
version `v1.12` Elixir ships with `Mix.install/2` that allows for installing
|
[`Mix.install/2`](https://hexdocs.pm/mix/1.12/Mix.html#install/2) that allows you to install
|
||||||
dependencies into Elixir runtime! This approach is especially useful when sharing notebooks,
|
dependencies into your Elixir runtime! This approach is especially useful when sharing notebooks
|
||||||
because everyone will be able to get the same dependencies. Let's try this out:
|
because everyone will be able to get the same dependencies. Let's try this out:
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
|
|
Loading…
Add table
Reference in a new issue