Linux command
slides 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start a presentation
slides [presentation.md]
Start with a specific slide
slides [presentation.md] --slide [3]
Serve a presentation
slides serve [presentation.md]
Execute code blocks
slides [presentation.md]
说明
slides is a terminal-based presentation tool that renders Markdown files as slideshows. Slides are separated by horizontal rules (---) in the Markdown file. It supports syntax highlighting for code blocks, dynamic content, and live code execution. The tool automatically watches for changes in the source file and updates the presentation in real-time, making it ideal for iterative development of presentations. Code blocks can be executed directly during the presentation by pressing Ctrl+E, displaying the output inline. slides can also serve presentations over SSH using the serve subcommand, allowing audience members to follow along from their own terminals.
参数
- --slide _N_
- Start the presentation at slide number N.
- --theme _theme_
- Use a specific theme for the presentation.
- serve
- Host the presentation over SSH, allowing remote viewing.
FAQ
What is the slides command used for?
slides is a terminal-based presentation tool that renders Markdown files as slideshows. Slides are separated by horizontal rules (---) in the Markdown file. It supports syntax highlighting for code blocks, dynamic content, and live code execution. The tool automatically watches for changes in the source file and updates the presentation in real-time, making it ideal for iterative development of presentations. Code blocks can be executed directly during the presentation by pressing Ctrl+E, displaying the output inline. slides can also serve presentations over SSH using the serve subcommand, allowing audience members to follow along from their own terminals.
How do I run a basic slides example?
Run `slides [presentation.md]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --slide _N_ do in slides?
Start the presentation at slide number N.