Skip to main content

CLI tool to generate beautiful standalone HTML presentations from Markdown.

Project description

show-off

Reveal.js is great, but managing presentations with it can be a hassle. You have to drag around a dist/ directory, set up local HTTP servers just to preview your slides, deal with broken relative paths for images, and fight with CSS for custom layouts.

show-off is a simple Python CLI that takes a single Markdown file and compiles it into a completely standalone, beautiful HTML slideshow.

No directories to manage, no CDNs to fetch, and everything—including your images and styles—is packed into a single offline-ready file that you can share anywhere.


What it does

  • Zero-dependency output: Your styles, scripts, plugins, and images (automatically converted to base64) are compiled inline. The output HTML file works 100% offline.
  • Polished styles by default: Instead of reveal.js's basic styling, it automatically applies modern typography (Plus Jakarta Sans), radial dark backgrounds, glassmorphic cards, and macOS-style code blocks.
  • Layout flexibility: Because it compiles to HTML, you can drop inline HTML elements (like flexbox/grid divs) directly into your Markdown for complex multi-column layouts.
  • YAML configuration: Configure transitions, themes, core Reveal options, or write custom CSS directly in the Markdown's frontmatter.

Installation

Install it directly via pip:

pip install show-off

Or clone the repository and install it locally:

git clone https://github.com/reharish/show-off.git
cd show-off
pip3 install -e . --break-system-packages

Usage

1. Initialize a template

Generate a starting presentation template in your current directory:

show-off init

This creates slides.md (a template demonstrating fragments, layouts, and animations) and a sample image inside an assets/ folder.

2. Compile your slides

To compile your Markdown file, pass it directly to the command:

show-off slides.md

This generates slides.html in the same directory.

If you want to save it with a custom name, pass the output path as the second argument:

show-off slides.md output.html

(You can also use show-off make slides.md output.html if you prefer the sub-command syntax).


Frontmatter Settings

You can customize the slideshow using the YAML block at the top of your Markdown file:

---
title: "My Presentation"
theme: dracula               # reveal.js theme (dracula, moon, night, solarized, etc.)
transition: slide            # transition effect (slide, fade, zoom)
eyeCatchy: true              # set to false to fallback to plain reveal.js styling
revealConfig:
  controls: true             # show navigation arrows
  progress: true             # show bottom progress bar
  slideNumber: true          # show slide page numbers
css: |                       # write inline CSS styles to override anything
  .reveal h2 {
    color: #38bdf8 !important;
  }
---

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

show_off-1.0.1.tar.gz (721.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

show_off-1.0.1-py3-none-any.whl (754.0 kB view details)

Uploaded Python 3

File details

Details for the file show_off-1.0.1.tar.gz.

File metadata

  • Download URL: show_off-1.0.1.tar.gz
  • Upload date:
  • Size: 721.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for show_off-1.0.1.tar.gz
Algorithm Hash digest
SHA256 00156de4201b2c4cf3363ab124284507597c14690f5e1d3d3cc991b5d72310b5
MD5 af12ee4a7ba610d1d2e69693f85ddf2c
BLAKE2b-256 726ecdd07d77bbd1c4d94060eaf3f4e1557bc453d7085ea5aa8b7e9c371b83a9

See more details on using hashes here.

File details

Details for the file show_off-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: show_off-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 754.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for show_off-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60bb18db91c7178e9f667b573edcc1c828ee5086f8e1faac89e2594c5d2e22b0
MD5 9dd1a3ed73d7cabc7c2390534f1bf89d
BLAKE2b-256 19412e51c282ff8f15f94450c9b8e28313c518367114261d5dd9eec6abf62ea0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page