Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering text sections when deploying as application #2895

Open
TomBers opened this issue Dec 14, 2024 · 2 comments
Open

Rendering text sections when deploying as application #2895

TomBers opened this issue Dec 14, 2024 · 2 comments

Comments

@TomBers
Copy link

TomBers commented Dec 14, 2024

Environment

  • Elixir & Erlang/OTP versions (elixir --version): Elixir - 1.17.2, Phoenix - 1.7.14, Livebook - 0.14.5
  • Operating system: MacOS 15.1.1
  • How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): Mac App
  • Livebook version (use git rev-parse HEAD if running with mix): 0.14.5
  • Browsers that reproduce this bug (the more the merrier): Safari, Chrome
  • Include what is logged in the browser console:
  • Include what is logged to the server console:

Current behavior

I have a test Livebook (see screenshot) and was experimenting with deploying it as an application. I went to the local preview option and expected the result to include not only evaluated cells but any text sections and markdown, however I only see certain cells.

Expected behavior

The deployed Livebook to contain all of the cells in the document.

This is the Livebook I started with

Screenshot 2024-12-14 at 10 57 17

This is the preview.

Screenshot 2024-12-14 at 10 57 28
@josevalim
Copy link
Contributor

Correct! You can use Kino.Markdown or similar to create text as output, which is then part of the app. The text itself is assumed to be documentation/reference.

@TomBers
Copy link
Author

TomBers commented Dec 14, 2024

Just an observation, but for my use case that makes things a little difficult, as I wanted to write a blog like page with lots of text and a few interactive cells.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants