Marp guide

2-minute setup Marp CLI & VS Code

Embed PanelQ in Marp

Show live audience questions and a scannable QR code on a full-bleed Marp HTML slide—authored right in Markdown.

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.

  1. 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>/.
    PanelQ Share Panel modal showing the Copy Live Display Link option for a Platform Engineering Workshop Q&A session
  2. Add a full-bleed iframe slide in Markdown. Marp themes add slide padding by default (78.5px in the default theme), 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 across default, gaia, and uncover themes.
    ---
    
    <!-- _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>
  3. Build to HTML with --html enabled. 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 --html and open deck.html directly in your browser (works over HTTP or opened directly from disk via file://):
    npx @marp-team/marp-cli --html deck.md -o deck.html
    Marp HTML presentation displaying a full-bleed live PanelQ Q&A slide with Marp's Page 3 of 4 navigation bar

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.

Marp Presenter View showing the live PanelQ Q&A slide on stage, the next workshop slide, 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: none matters. Clicking an interactive iframe traps keyboard focus so arrow keys stop advancing slides. Because PanelQ's live display is passive, pointer-events: none keeps 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 .html deck 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