Initial implementation of slider

Single-file markdown slideshow for the terminal. Parses slides split by
`---`, renders each with glow, and navigates with n/p/q or arrow keys.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
flo-eberle
2026-03-01 17:33:54 +01:00
commit d9e1e26601
4 changed files with 217 additions and 0 deletions

39
README.md Normal file
View File

@@ -0,0 +1,39 @@
# slider
Terminal markdown slideshow. Write slides in a single `.md` file, split them with `---`, and navigate with keyboard shortcuts.
## Requirements
- [glow](https://github.com/charmbracelet/glow) v2+
## Usage
```bash
./bin/slider presentation.md
```
## Controls
| Key | Action |
|-----|--------|
| `n` / right arrow | Next slide |
| `p` / left arrow | Previous slide |
| `q` | Quit |
## Writing slides
Separate slides with a `---` on its own line:
```markdown
# Slide one
Some content here.
---
# Slide two
More content.
```
See `examples/presentation.md` for a full example.