Coder Social home page Coder Social logo

vimdeck's Introduction

vimdeck

VIM as a presentation tool

Installation

Install the vim plugin SyntaxRange.

gem install vimdeck

Usage

  1. Write your slides in a markdown file (See below for details on limited markdown syntax)

  2. Run vimdeck <file_name.md> and it will generate a file for each slide and open them in VIM

VIM Script

Vimdeck will also provide a script file that will set up keybindings for you.

  • PageUp/Left go backwards
  • PageDown/Right go forward

A Note about VIM

This is a tool meant for VIM users. In other words, it is not a VIM plugin โ€” it's a script that converts a plain text document into multiple files.

The only hard dependency is SyntaxRange.

Other than that you may need some syntax highlighting plugins to handle the code syntax highlighting.

A Note About Markdown

Slides are separated by 2 newlines in a row.

Example:

# Slide 1

- has some
- really important
- information


# Slide 2

Is less important

Vimdeck does not compile markdown into something else. It uses a very small subset of markdown. List of items supported:

  • h1s
  • h2s
  • images
  • fenced code blocks

That's it. The point of Markdown is that it's human-readable. Other stuff like (un)ordered lists, block quotes, indented code blocks, etc. will be displayed just as they were written.

Fenced code blocks look like this:

```javascript
   this.is = 'code'
```

Why Ruby?

Additionally, I want to point out that I realize that it's odd to have a VIM-based tool and not write it as a VIM script. Ruby was my language of choice only because the ascii art dependencies were implemented as ruby gems. Plus, I โ™ฅ ruby.

##Screenshots:

Vimdeck converts h1s and h2s into ascii art

Lists are displayed as they are written

Vimdeck will also augment its vimscript to provide syntax highlighting

Images are even converted to ascii art!

vimdeck's People

Contributors

tybenz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.