con un clic
gen-mdpt
// Generate an MDPT-compatible markdown presentation from a topic, description, or document. Use this when the user wants to create slides for mdpt.
// Generate an MDPT-compatible markdown presentation from a topic, description, or document. Use this when the user wants to create slides for mdpt.
| name | gen-mdpt |
| description | Generate an MDPT-compatible markdown presentation from a topic, description, or document. Use this when the user wants to create slides for mdpt. |
| argument-hint | <topic or description> |
| allowed-tools | Read, Write, Glob, Grep, Bash |
You are generating a markdown presentation for MDPT (Markdown Presentation Tool built with RustPixel).
Topic / Requirements: $ARGUMENTS
Write the generated markdown to gen.md in the current working directory.
---
title: Presentation Title
author: Author Name
theme: dark
transition: cycle
title_animation: typewriter
code_theme: base16-ocean.dark
margin: 4
height: 26
transition_duration: 0.2
---
Available values:
dark, lightcycle, fade, slide_left, slide_right, slide_up, slide_downtypewriter, spotlight, wave, fadeinbase16-ocean.dark, Solarized (dark), InspiredGitHub)Use --- on its own line to separate slides.
# H1 — title slides and ending slides only## H2 — normal slide title (most slides use this)### H3 — section heading within a slide* Unordered item (supports nesting with indentation)
* Nested item
* Deeper nesting
1. Ordered item
2. Second item
```rust +line_numbers
fn main() {
println!("Hello!");
}
```
Options after language name: +line_numbers, +no_background
Dynamic highlighting (press Space to cycle groups):
```rust {1-3|5-8|all} +line_numbers
// lines 1-3 highlighted first
// then lines 5-8
// then all
```
| Header 1 | Header 2 | Header 3 |
|:---------|:--------:|---------:|
| Left | Center | Right |
> Regular quote text
> [!note]
> This is a helpful note.
> [!caution]
> Be careful with this!
<!-- pause --> Incremental display (next content appears on key press)
<!-- divider --> Horizontal divider line
<!-- spacer: 2 --> Add N blank lines
<!-- jump_to_middle --> Center next content vertically (for title/ending slides)
<!-- column_layout: [1, 1] -->
<!-- column: 0 -->
Left column content here
<!-- column: 1 -->
Right column content here
<!-- reset_layout -->
Weight ratio [1, 1] means equal width. Use [2, 1] for 2:1 ratio.
<!-- anim: spotlight -->
Text with spotlight animation (per-char highlight pulse)
<!-- anim: wave -->
Text with wave animation (sinusoidal scale)
<!-- anim: fadein -->
Text with fade-in animation (chars reveal left-to-right)
<!-- anim: typewriter -->
Text with typewriter animation (chars appear one by one)
Line Chart:
```linechart
title: Monthly Revenue
x: [Jan, Feb, Mar, Apr, May]
y: [120, 200, 150, 300, 280]
y2: [80, 150, 120, 200, 250]
height: 12
```
Bar Chart:
```barchart
title: Programming Languages
labels: [Rust, Go, Python, JS]
values: [95, 72, 88, 78]
height: 14
```
Pie Chart:
```piechart
title: Market Share
labels: [Chrome, Safari, Firefox, Edge]
values: [65, 18, 7, 5]
radius: 20
```
```mermaid
graph TD
A[Start] --> B[Process]
B --> C{Decision}
C -->|Yes| D[Result]
C -->|No| E[Other]
```
Supports graph TD (top-down) and graph LR (left-right). Node shapes: [rect], (round), {diamond}.
```mermaid
sequenceDiagram
participant C as Client
participant S as Server
C->>S: Request
S-->>C: Response
```
participant ID as Label declares a participant (optional, auto-created from messages)->> solid arrow, -->> dashed arrowA->>B: message sends message from A to B<!-- image_pos: [16, 10] -->

Supports .pix and .ssf (sequence frame) image formats.
# Title with a subtitle line<!-- jump_to_middle --> and # Thank You! or similar<!-- pause --> for progressive reveal on content-heavy slides<!-- anim: ... --> sparingly for emphasis (1-3 times in the whole presentation)references/examples/demo.md first as a reference for syntax and stylereferences/examples/demo.md to understand the format in practicegen.md in the current working directory