Generate Binder badge/link from _quarto.yml
#6528
ccamara
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
Since Quarto allows to embed Jupyter Notebooks and add a link to it, you could use a LUA filter to manipulate those link in order to target a binder, see https://quarto.org/docs/extensions/creating.html. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Summary
For every page generated from a ipynb notebook, I'd like to have an icon/link to run that particular notebook (not the root's project) into binder. Ideally, this should be done automatically from adding the binder url to
_quarto.yml
, in a similar way that current "Edit this page on github" works.Even shorter: I want an implementation like the one implemented by jupyterbook: https://jupyterbook.org/en/stable/interactive/launchbuttons.html?highlight=binder#add-a-launch-on-binder-button
Context
I'd like to create a book aimed to python users. Therefore, I'd want to use solutions that are well known within python community, so despite I much prefer
.qmd
over.ipynb
, I'd be using jupyter notebooks. I can see quarto can generate a book page from.ipynb
pretty well, although I need to run the code cells beforehand or render them usingquarto render --execute
.I'd like my students to be able to run every notebook on binder, as easily as possible, meaning that they should see a link/button pointing to that particular notebook on binder, in a similar way that current "Edit page on github" works now.
Currently, I could do any of these options:
Ideally, I would like the url to be automatically generated based on the url specified at
_quarto.yml
, in a similar way that github links are generated and in a similar way it is currently implemented by jupyterbookBeta Was this translation helpful? Give feedback.
All reactions