mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-09 21:51:42 +08:00
Update lib/livebook.ex
This commit is contained in:
parent
e462e7770c
commit
b23c08d28b
1 changed files with 0 additions and 2 deletions
|
|
@ -276,8 +276,6 @@ defmodule Livebook do
|
||||||
"""
|
"""
|
||||||
@spec live_markdown_to_elixir(String.t()) :: String.t()
|
@spec live_markdown_to_elixir(String.t()) :: String.t()
|
||||||
def live_markdown_to_elixir(markdown) do
|
def live_markdown_to_elixir(markdown) do
|
||||||
require Logger
|
|
||||||
Logger.debug(fn -> "will obviously raise" end, bad: {1, 2})
|
|
||||||
{notebook, _info} = Livebook.LiveMarkdown.notebook_from_livemd(markdown)
|
{notebook, _info} = Livebook.LiveMarkdown.notebook_from_livemd(markdown)
|
||||||
Livebook.Notebook.Export.Elixir.notebook_to_elixir(notebook)
|
Livebook.Notebook.Export.Elixir.notebook_to_elixir(notebook)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue