A terminal based preview tool for markdown
.
- Turning: turn next/previous slide
- Scroll: scroll up/down slide
- Search: search word
- Tagbar: a preview of slides
go install github.com/0x00-ketsu/slides@latest
From source
git clone https://github.com/0x00-ketsu/slides.git
cd slides
make build
Create(or copy an exist) a markdown file contains your slides, here's a simple example:
# Welcome to Slides
A Terminal based preview tool for markdown
---
# h1
## h2
### h3
#### h4
##### h5
###### h6
---
# Markdown components
You can use everything in markdown!
* Like bulleted list
* You know the deal
1. Numbered lists too
---
# Tables
| Tables | Too |
| ------ | ------ |
| Even | Tables |
Then, run:
slides example.md
slides
is accepts input from stdin
:
curl http://example.com/slides.md | slides
Go to specific slide:
- number:
1
-9
Go to first slide:
g
Go to last slide:
G
Go to previous slide:
h
Go to next slide:
l
Scroll donw/up slide:
j
: scroll downk
: scroll up
/
: active searchn
: goto next slide if search word is matchedN
: goto previous slide if search word is matched
Toggle Tagbar, default is hide
t
?
q
esc
ctrl-c
MIT