Create presentation slides from git commits. Built for software engineers who present code.
You're preparing a talk or demo where you need to walk through code changes. Maybe you're:
- Explaining a new feature to your team
- Teaching a workshop on a framework
- Presenting a code review or architecture decision
- Creating a tutorial that shows code evolving step by step
Manually copying code snippets into slides is tedious. Screenshots get outdated. And you lose the context of what changed between steps.
Git Slide Import lets you select commits from any git repository and generates reveal.js-compatible slides showing the code changes. Each commit becomes a slide (or group of slides) with syntax-highlighted diffs.
Use it with Advanced Slides to present directly from Obsidian.
- Browse any git repository - Select a local repo and filter by branch, date range, or file patterns
- Cherry-pick commits and files - Choose exactly which changes to include
- Multiple slide layouts - Flat (one slide per file), grouped by commit, progressive (same file evolving), or per-hunk
- Syntax highlighting - Automatic language detection with line highlights on added code
- Live preview - See your slides as you build them
- Customizable templates - Control the slide structure with template variables
- Open the Git Slide Import view from the command palette
- Select a git repository
- Pick the commits and files you want to present
- Adjust formatting options (highlight style, context lines, organization)
- Copy the generated markdown to your note
The output is standard reveal.js markdown that works with Advanced Slides.
<!-- slide -->
## Add user authentication
`src/auth/login.ts`
```ts {4-8}
import { hash } from 'bcrypt';
export async function login(email: string, password: string) {
const user = await findUserByEmail(email);
if (!user) throw new Error('User not found');
const valid = await compare(password, user.passwordHash);
if (!valid) throw new Error('Invalid password');
return createSession(user);
}
`` `- A local git repository
- Advanced Slides plugin (for presenting)
- Install the BRAT plugin if you haven't already
- Open Settings → BRAT → Add Beta Plugin
- Enter the repository URL:
remyhonig/obsidian-git-slide-import - Click "Add Plugin" and enable it
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder:
<vault>/.obsidian/plugins/git-slide-import/ - Copy the files into that folder
- Reload Obsidian and enable the plugin
- Use the Preset dropdown to quickly filter files for common frameworks (React, Python, Go, etc.)
- The Progressive organization is great for showing how a single file evolves across commits
- Per-hunk organization works well when commits have multiple distinct changes
- Adjust Context lines to show more or less surrounding code
