Quarto Drop plugin for Reveal.js

A dropdown R or Python console

Quarto Drop plugin for Reveal.js

Throughout this presentation, an interactive R console and editor can be invoked by pressing the drop shortcut

By default, the drop shortcut is the backtick key: `


Alternatively, click the console button in the bottom left of the slide

Configuration

Set the drop shortcut and button visibility in the yaml header.

---
format:
  revealjs:
    drop:
      button: false
      shortcut: "]"
---

Execution Engine

For a Python console, set the pyodide engine in the yaml header.

---
format:
  revealjs:
    drop:
      engine: pyodide
---

Default packages

Automatically download packages when the presentation starts

---
format:
  revealjs:
    drop:
      engine: pyodide
      pyodide:
        packages:
          - matplotlib
---