Sharing Notebooks

Publish a public notebook page with your code and outputs—perfect for transparency and reproducibility.

Notebooks are private by default. When you share a notebook, Margin publishes a public page that shows your notebook’s code + rendered outputs.

Making a Notebook Public

  1. Open the notebook you want to share
  2. Click Share in the notebook toolbar
  3. Toggle Public on
  4. Choose a URL slug (e.g., q4-forecasting-notes)
  5. Copy and share the link

Your notebook is now live at:

marginfordata.com/@username/notebooks/your-slug

What Viewers See

Public notebooks are designed for transparency:

VisibleHidden
✅ Code cells❌ Other private notebooks
✅ Rendered outputs (charts, tables, images)❌ Workspace settings
✅ Markdown cells❌ Private datasets (unless you share them separately)

Best Uses

  • Behind a brief – Share the full work for technical readers
  • Reproducibility – Pair a public notebook with a public dataset (Pro)
  • Team handoff – Share implementation details without inviting someone into your workspace

Revoking Access

To make a notebook private again:

  1. Open the notebook
  2. Click Share
  3. Toggle Public off
  4. Save

The public URL stops working immediately. Anyone with the link will see a 404.

Next Steps