- 
                Notifications
    You must be signed in to change notification settings 
- Fork 748
Closed
Copy link
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Description
I would like to serve my notebook in slides mode. The notebook has dependencies that make it impossible to export as a WASM file.
Suggested solution
Add support for a --layout flag in the CLI command marimo run
Are you willing to submit a PR?
- Yes
Edit: Solution
Updating this PR with information from the comments below.
This is already possible. I needed to include the "layouts/" folder in my deployment. I could have verified that it was set up correctly by noting:
- "my_notebook.md" has this line (note the layout_fileargument):
# Autogenerated by Marimo; specified layout file
app = marimo.App(layout_file="layouts/my_notebook.slides.json") - layouts/my_notebook.slides.jsonexists.
$ cat layouts/my_notebook.slides.json
{
  "type": "slides",
  "data": {}
}
sghng
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request