百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Q

quarto-drop

> 编程语言
开源

从 Quarto 幻灯片的顶部下拉一个交互式 R 或 Python 控制台、代码编辑器和绘图窗口。

190 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

从 Quarto 幻灯片的顶部下拉一个交互式 R 或 Python 控制台、代码编辑器和绘图窗口。

Quarto Drop plugin for reveal.js

Have you ever given a talk or presentation and wanted an R or Python console right there in your slides for some quick throwaway examples or demos? Do you find switching to another window or desktop so that you can show some work in an IDE fiddly and distracting?

If so, this plugin is for you! With Quarto Drop, you can press a shortcut key to immediately drop down from the top of the slide an interactive R or Python console, editor and plotting window. The same shortcut key then dismisses the console.

Show your demo then dismiss the console. Later, on another slide, you can drop it down again and state is maintained over multiple slides.

Code execution is powered by WebAssembly, using webR and Pyodide. No R or Python execution servers are required.

Usage

  1. Install the Quarto Drop extension:
bash
quarto add r-wasm/quarto-drop
  1. Add the plugin to your reveal.js slides, as part of your yaml header:
yaml
---
format: revealjs
revealjs-plugins:
  - drop
---
  1. During the presentation, press the drop shortcut. By default, it is the backtick key: "`". Alternatively, press the console button at the bottom left of the slide.

Demo

Example slides:

  • R: https://r-wasm.github.io/quarto-drop/example.html
  • Python: https://r-wasm.github.io/quarto-drop/example-python.html

Configuration

Change the shortcut key and console button visibility:

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

Execute Python code

yaml
format:
  revealjs:
    drop:
      engine: pyodide

Load packages automatically on page load

yaml
format:
  revealjs:
    drop:
      engine: webr
      webr:
        packages:
          - ggplot2
          - dplyr

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言