quarto-dev / quarto-dev/quarto-cli

Callout boxes for ipynb output

Open
#1,167 6 comments 4 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Oct 1, 2024.

callouts engines-jupyter enhancement
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/1166

Originally posted by linogaliana June 17, 2022
Hi,

callouts are a really nice feature. I have seen in the doc that currently Jupyter Notebooks are not supported (https://quarto.org/docs/authoring/callouts.html). I totally understand this is not a priority and might be tricky to implement. However, in the future, that would be really cool to also propose boxes for this output format.

  • As far as I understood discussions in https://github.com/jupyter/notebook/issues/1292 it seems that there exists some features in Jupyter Notebook with some raw HTML <div>. Some examples are given here
  • However, all boxes provided by quarto are not supported
  • Boxes are not as aesthetic as those provided by quarto (or jupyterbook). This is of course not a priority (functional boxes would first be great) but this would be cool to a nice box in notebook. I saw that it is possible to embed some styling element directly in the div (see this stackoverflow thread) but maybe there's a better way to start
  • @choldgraf maybe has an opinion on the best way to proceed

Once again, I understand that tweaking some notebook features is not a priority. But helping python users generate nice notebooks from quarto could be appreciated

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.