Remember Extension for Quarto

Quarto Extension

This extension provides automatic navigation position saving and restoration for both HTML documents and Reveal.js presentations.

Installation

quarto add mcanouil/quarto-remember

This will install the extension under the _extensions subdirectory.

If you’re using version control, you will want to check in this directory.

Usage

To enable slide position tracking for presentations:

---
title: "My Presentation"
format: revealjs
filters:
  - remember
---

Testing the Extension

  1. Navigate through several slides using arrow keys or clicking.
  2. Close the browser tab.
  3. Reopen this presentation.
  4. You should see a prompt asking if you want to resume from your last slide.
  5. Click Yes to jump to your last position, or No to start at the beginning.

How It Works

The extension tracks your slide position as you navigate through the presentation.

When you return, it prompts you to resume from your last viewed slide.

All data is stored locally in your browser. Nothing is sent to external servers.

Features

  • Automatic Tracking: Positions saved as you navigate.
  • Smart Prompts: Only shows when there’s a meaningful position to restore.
  • User Choice: Always asks permission before restoring position.
  • Page-Specific: Each page tracked separately.
  • Time-Aware: Shows when you last visited.
  • Keyboard Support: Tab, Enter, and Escape keys work.
  • Responsive: Works on desktop, tablet, and mobile.
  • Dark Mode: Adapts to your colour scheme preference.

Section 1: Welcome

This is the first section of the demonstration.

Navigate to the next slides to test the extension’s slide tracking.

The extension will remember your position and offer to restore it when you return.

Section 2: Demonstration

Use arrow keys or click to navigate through slides.

The extension tracks which slide you’re viewing.

Try closing and reopening this page to see the prompt appear.

Section 3: Position Tracking

The extension monitors your slide position.

All tracking happens automatically.

No user action required.

Section 4: User Experience

When you return, a modal prompt appears with:

  • Title: “Resume Navigation?”
  • Message showing when you last visited.
  • Buttons: “Yes” to restore or “No” to start fresh.

Keyboard users can press Escape to dismiss the prompt.

Section 5: Privacy

All position data is stored locally in your browser.

No cookies, no external requests, no tracking.

Data persists until you clear browser storage or decline the prompt.

Your privacy is protected.

Section 6: Accessibility

The modal prompt supports keyboard navigation:

  • Tab between buttons.
  • Enter to select.
  • Escape to close.

Section 7: Responsive Design

The modal adapts to different screen sizes.

Works on all devices.

Section 8: Dark Mode

The extension adapts to your system colour scheme.

Light and dark themes are supported.

Section 9: Limitations

  • Works with HTML and Reveal.js formats only.
  • Requires browser local storage.
  • Position tracked per URL.

Section 10: Testing Tips

To test the extension:

  1. Navigate through multiple slides.
  2. Close and reopen the presentation.
  3. Test both “Yes” and “No” options.

Section 11: Final Remarks

Navigate back through the slides to test the position tracking.

Thank you for trying the Remember extension!