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.1.0.tar.gz (723.4 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.1.0-py3-none-any.whl (756.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: show_off-1.1.0.tar.gz
  • Upload date:
  • Size: 723.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 86390aedcb1528cfa49ecbd0abaeb201ed037882e7410a4f13d1868747c2b870
MD5 48a4b3f916c63700fbcd6457d7902b36
BLAKE2b-256 62110319c34abe9ebbaf9270964402940995fdaab857e4ab9b85f17ba0791673

See more details on using hashes here.

File details

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

File metadata

  • Download URL: show_off-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 756.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6439b62af563a580b1d9b2290c1060ad328318c6a6fd4a440fd90853a6c72c29
MD5 865b8c13b3e5dbdefc4d7a49f33547cb
BLAKE2b-256 39cef901450c683adc64c954af618ed3c83230e4196dd668a81f43afe15c8d1f

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