Update lib/livebook.ex

This commit is contained in:
José Valim 2025-06-15 11:22:16 -07:00 committed by GitHub
parent e462e7770c
commit b23c08d28b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -276,8 +276,6 @@ defmodule Livebook do
"""
@spec live_markdown_to_elixir(String.t()) :: String.t()
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)
Livebook.Notebook.Export.Elixir.notebook_to_elixir(notebook)
end