Add live Q&A to a Marp slide
Embed a live PanelQ Q&A board on any Marp slide using a scoped full-bleed <iframe> and Marp's --html flag (Marp CLI docs). PanelQ is free with no participant cap, lets attendees submit anonymous questions via QR code, and includes automatic AI and manual moderation.
-
Copy your PanelQ live display URL.
Open your session in PanelQ (or create one free), click Share, and choose Copy Live Display Link to copy
https://panelq.com/p/<id>/.
-
Add a full-bleed iframe slide in Markdown.
Marp themes add slide padding by default (78.5px in the
defaulttheme), which leaves an inset border around an iframe. Add<style scoped>(Marpit CSS docs) and<!-- _paginate: false -->(Directives docs) so PanelQ fills only that slide edge-to-edge acrossdefault,gaia, anduncoverthemes.--- <!-- _paginate: false --> <style scoped> section { padding: 0; } iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; } </style> <iframe src="https://panelq.com/p/m7pT3/" title="Live Q&A"></iframe> -
Build to HTML with
--htmlenabled. Marp disables raw HTML tags by default—without--html, Marp escapes the<iframe>tag and renders it as literal text on the slide. Compile with--htmland opendeck.htmldirectly in your browser (works over HTTP or opened directly from disk viafile://):npx @marp-team/marp-cli --html deck.md -o deck.html
Use /p/, not /panels/ or /ask/
| URL | Purpose |
|---|---|
https://panelq.com/p/<id>/ |
Paste into Marp. Public full-screen display with the active question and QR code. |
https://panelq.com/panels/<id> |
Moderator dashboard—open on your phone or second screen. |
https://panelq.com/ask/<id>/ |
Audience submission form opened by scanning the QR code. |
Present live Q&A with Presenter View
Press P (or click the presenter icon in Marp's bottom bar) to open Presenter View alongside your audience window—showing the live PanelQ board, next slide, elapsed timer, and speaker notes.
- Moderate from another device. Approve, reorder, advance, or pause questions from PanelQ on your phone, a second laptop, or a teammate's browser (Share → Invite teammate / co-host). Queue updates appear on the Marp slide within about a second.
- Why
pointer-events: nonematters. Clicking an interactive iframe traps keyboard focus so arrow keys stop advancing slides. Because PanelQ's live display is passive,pointer-events: nonekeeps arrow keys, clickers, and Marp's floating navigation bar working smoothly over the Q&A slide. - Present the HTML export, not PDF. Exporting a Marp deck to PDF flattens slides into static pages—always present the compiled
.htmldeck so PanelQ stays live and updates in real time.
Enable HTML in Marp for VS Code or project config
Marp for VS Code: Open Settings, search for Markdown > Marp: Enable HTML, and check it—or add this to .vscode/settings.json so the live preview renders the iframe:
{
"markdown.marp.enableHtml": true
}
Marp CLI config file: Add html: true to marp.config.js so every build enables HTML automatically without passing --html on the command line:
module.exports = {
html: true,
};
PanelQ
Run live Q&A inside Marp for free
Set up a moderated QR-code session in under a minute. No credit card and no participant limits.
Create a Q&A session