u/Ev2geny_

Unable to make the custom.css file work on molab

Dear all,

I have a notebook with custom.css file.

https://github.com/Ev2geny/marimotest1

It works perfectly locally

But I am just unable to make the custom.css to work on molab

https://molab.marimo.io/notebooks/nb_pcXjRxXkmAF5CscfVV5niH/app

Molab notebook has a setting to specify the path to custom.css. But no matter what I put there, it does not work

Plus I am not able to save these settings. Whenever I refresh the browser, this setting is reset to default.

Question: what am I missing?

reddit.com
u/Ev2geny_ — 8 days ago

Dear all,

my goal is to share a marimo notebook in the app mode in the molab.marimo.io

What would be the correct workflow to maintain marimo notebook on molab in synch with github and to make sure, that the URL stays consistent?

The source code is hosted on github. I can open a notebook from github in molab following these instructions https://molab.marimo.io/github.

E.g.:

https://molab.marimo.io/github.com/Ev2geny/beanquery-interactive-manual/blob/main/manual.py

This however opens a notebook in edit mode. It is possible to then fork it and open in a view mode, but this is too much steps for a user. Plus the next time a user clicks follows the same process it will create a new instance on molab.

So, the workflow I have deloped so far is:

  1. initially create a notebook in molab from github.
  2. I then share an app link from molab. Like this:

https://molab.marimo.io/notebooks/nb_LwPTEUeSawLDcmpDQRRLPU/app

It is this link, which I share with users

  1. For all follow up update I manually replace the notebook.py from the molab file menu.

https://preview.redd.it/p5wcb1g8loyg1.png?width=437&format=png&auto=webp&s=77d449702d6d9c03ccce92a2fa3d096dc695957b

Question: is there any better way to do this?

reddit.com
u/Ev2geny_ — 21 days ago