quarto-dev / quarto-dev/quarto-cli

Button to open rendered ipynb in google colab

Open
#1,718 5 comments 0 reactions 1 assignee View on GitHub

@jjallaire is already working on this.

Since Aug 7, 2022.

engines-jupyter enhancement html
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1690

Originally posted by schochastics August 4, 2022
Hi there,

What would be the best way (if there is any) to include a button on a rendered ipynb which opens the notebook on google colab (see example at the bottom)?

I could of course do it manually, but I have a lot of notebooks to render for a website which I pull from github.
Is this maybe possible with ipynb filters? If so, any pointer would be greatly appreciated since I am an utter python noob.

/Edit:
After some more research I found that jupyterbook has this feature.
colab2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.