Skip to content

0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Jun 11:32

Fixed

  • PNG export no longer collapses inter-word spaces (switched the rasterizer from
    html2canvas to modern-screenshot).
  • PDF export now prints the theme background (print-color-adjust: exact in PRINT_CSS) —
    dark themes no longer print on white.

Added

  • Mobile support (isDesktopOnly: false) — the plugin now runs on iOS/iPadOS. All
    desktop-only APIs are platform-guarded. On mobile, PDF export writes a self-contained HTML
    file into the export folder and opens it via the OS (openWithDefaultApp); the user then
    prints or shares to PDF from there.
  • Live theme switcher — the preview toolbar now has a theme dropdown for ephemeral try-on, a
    source label (from frontmatter / from default / ● unsaved) that disambiguates where the
    active theme comes from, and a Set button that writes theme: into the note's frontmatter
    via setNoteTheme (processFrontMatter). Fixes the „theme dropdown does nothing" confusion.
  • User themes — drop .css files into the configurable themes folder (default
    Slide-Deck-Themes/); the frontmatter theme: value is the filename without the .css
    extension. Each file is a --sd-* token block with optional extra CSS; user themes inherit
    the built-in default theme's code-highlight and Mermaid styles. The Settings tab shows all
    valid theme keys live.
  • Theme import/export — an Open in Finder button reveals the themes folder (drop files
    in); Export theme as .css writes any theme as an editable .css starting point; a toggle
    hides the themes folder in Obsidian's file explorer.