slides

command module
v0.0.0-...-8cb0cac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 1 Imported by: 0

README

Slides

A terminal based preview tool for markdown.

screenshot

Features

  • Navigation: move to the next or previous slide
  • Text Movement: move text up or down within a slide
  • Scrolling: scroll up or down within a slide
  • Search: search for a specific word
  • Tagbar: preview of slides

Install

Go
go install github.com/0x00-ketsu/slides@latest

From source

git clone https://github.com/0x00-ketsu/slides.git
cd slides
make build

Usage

Quickly

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
Configuration

Copy the default configuration file to the your local home config directory.

slides config -c
Keymaps

See keymaps in default confguiration file.

Inspiration by

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL