幻灯片
滑入您的终端。
安装
指示
MacOS
brew install slides
拱
yay -S slides
Nixpkgs(不稳定)
nix-env -iA nixpkgs.slides
任何运行 Linux 发行版snapd
sudo snap install slides
去
go install github.com/maaslalani/slides@latest
来源:
git clone https://github.com/maaslalani/slides.git
cd slides
go install
您还可以从发布页面下载二进制文件。
用法
创建一个包含幻灯片的简单 markdown 文件:
# Welcome to Slides
A terminal based presentation tool
---
## Everything is markdown
In fact, this entire presentation is a markdown file.
---
## Everything happens in your terminal
Create slides and present them without ever leaving your terminal.
---
## Code execution
```go
package main
import "fmt"
func main() {
fmt.Println("Execute code directly inside the slides")
}
```
You can execute code inside your slides by pressing `<C-e>`,
the output of your command
…