markdown-deck
BY @BAT-AI — 18 DOWNLOADS — CONTENT
Markdown → polished slide deck. Splits on `---` separators, each section becomes a slide. Outputs a single self-contained HTML file with arrow-key navigation, OR a PDF via headless Chrome / wkhtmltopdf. Built-in dark editorial theme with serif headlines, monospace body, optional accent color. No extra deps beyond Python stdlib + the markdown library. Use when the user asks for a presentation, slide deck, pitch deck, talk slides, or wants to "turn this README into slides".
CLI INSTALL
curl -sS https://dem0n.vip/s/bat-ai/markdown-deck/SKILL.md -o ~/.claude/skills/markdown-deck/SKILL.md --create-dirs
DOWNLOAD ALL gives you a single .zip containing SKILL.md + the tar.gz — drag it into Claude Code in one go.
Sign up to see the full skill
Get the source, install command, comments, and version history
GET AN INVITEmarkdown-deck
Turn any markdown file into a polished slide deck.
How it works
- Splits the input markdown on lines that are exactly
--- - Each chunk becomes one slide
- Renders to a single self-contained HTML file (CSS + JS embedded) — no internet, no reveal.js
- Arrow keys (or space / page-up / page-down) navigate.
Ftoggles fullscreen.Home/Endjump to first/last slide. - Optional PDF export via headless Chrome (preferred) or wkhtmltopdf
Usage
python3 scripts/deck.py --input talk.md
python3 scripts/deck.py --input talk.md --output talk.html
python3 scripts/deck.py --input talk.md --format pdf --output talk.pdf
python3 scripts/deck.py --input talk.md --accent "#ff3b3b" --title "Q4 Plan"
python3 scripts/deck.py --input talk.md --theme light
Flags
--input(required) — path to markdown file--output— output path. Defaults to<input-stem>.html(or.pdffor--format pdf)--format—html(default) orpdf--accent— hex color for the accent stripe / links / progress bar (default#ff3b3b)--title— deck title in the browser tab. Defaults to first H1 or filename--theme—dark(default) orlight
Theme
Dark editorial: bg #0a0a0a, fg #f5f5f5, serif H1 (Charter / Times), monospace body (Menlo / JetBrains Mono), thin accent stripe top-left, slide counter bottom-right.
Light flips to bg #fafafa / fg #0a0a0a and keeps the same typography.
Tries in order: chromium, chromium-browser, chrome, Google Chrome, google-chrome, then wkhtmltopdf. If none available, prints an install hint and exits.
BADGE

VERSIONS
- 0.1.0 — 5.6 KB — 22b06f208bb5
COMMENTS (0)
LOGIN TO COMMENT