md-slides
Skill by alirezarezvani
Converts a markdown file into a single-file HTML slide deck with keyboard navigation, presenter mode and print-to-PDF. Use it when you want slides or a presentation from markdown or notes.
Install md-slides
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/markdown-html/skills/md-slides ~/.claude/skills/md-slidesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/markdown-html/skills/md-slides ~/.gemini/antigravity-cli/skills/md-slidesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
md-slides is an agent skill that turns a markdown deck into one self-contained HTML presentation. The deck is split into slides on horizontal rules or H1 headings, and any presenter notes are attached to their slides. A three-step pipeline of Python scripts (slide_splitter.py, presenter_notes_parser.py and deck_html_renderer.py) produces the final file. All CSS and JavaScript are inline, and the only external resource is Google Fonts.
The finished deck runs in any browser. It supports keyboard navigation, URL-hash deep links to individual slides, a progress bar, a slide counter and a presenter mode with speaker notes and a next-slide preview. A print stylesheet gives one slide per page for PDF export. The skill is aimed at users who author talks or notes in markdown and want to present or share them from a browser. It refuses inputs without clear slide boundaries and routes long-form documents to md-document.
Written from the project's SKILL.md and checked against it.
What it can do
- Markdown to slides splitSplits a markdown file into ordered slides on --- lines or H1 headings.
- Presenter notesExtracts presenter notes from each slide and attaches them to the matching slide.
- Single-file HTML outputRenders the deck as one HTML file with all CSS and JavaScript inline.
- Keyboard navigationAdvances, goes back and jumps to the first or last slide with keyboard keys.
- Presenter modePress P to show the current slide, a clock, speaker notes and a next-slide preview.
- URL-hash deep linkingOpens a specific slide through a hash such as #3, with browser back and forward support.
- Print to PDFA print stylesheet produces a PDF with one slide per page.
- Brand stylingUses 12 brand CSS custom properties from the design system.
What you need
- Python 3 to run the stdlib scripts
- A markdown deck of at least 100 lines
- A completed onboarding step, which every converter requires
Try asking
- Turn my notes.md into a slide deck with presenter notes
- Make an HTML presentation from this markdown outline
- Convert my talk draft into slides I can print to PDF
Good to know
- Refuses input with fewer than 3 horizontal rules or 5 H1 headings in auto mode.
- Refuses decks that would produce only one slide.
- With --strict-notes, refuses decks where less than 50% of slides have notes.
- Slides over 40 source lines trigger a warning, but still render.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: markdown-html/skills/md-slides/SKILL.md, markdown-html/skills/md-slides/scripts/deck_html_renderer.py, markdown-html/skills/md-slides/scripts/presenter_notes_parser.py, markdown-html/skills/md-slides/scripts/slide_splitter.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
assets/md_slides_template.html5 KB -
references/keyboard_nav_patterns.md5 KB -
references/presentation_ux.md5 KB -
references/single_file_deck_conventions.md5 KB
Show all 8 files
-
scripts/deck_html_renderer.py20 KB -
scripts/presenter_notes_parser.py4 KB -
scripts/slide_splitter.py10 KB
Alternatives to md-slides
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
md-slides: common questions
What input does md-slides need to make a deck?
It needs a markdown file with clear slide boundaries, either at least 3 horizontal rules or at least 5 H1 headings in auto mode. Input without clear boundaries is refused and routed to md-document.
Does the output need a server or internet connection?
The deck is one HTML file with inline CSS and JavaScript. The only external resource named in the source is Google Fonts CSS.
Can I print the slides to PDF?
Yes. The print stylesheet produces one slide per page when you use Cmd+P in the browser.
How do I install md-slides?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is md-slides free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is md-slides safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to md-slides?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
