Skip to content
/ mdp Public
forked from visit1985/mdp

A command-line based markdown presentation tool.

License

Notifications You must be signed in to change notification settings

ooichman/mdp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

209 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdp - A command-line based markdown presentation tool.

image


How to get started:

mdp needs the ncursesw headers to compile. So make sure you have them installed:

  • on Ubuntu/Debian you need libncursesw5 and libncursesw5-dev
  • on Cygwin you need libncursesw10 and libncurses-devel

Now download and install mdp:

$ git clone https://github.com/visit1985/mdp.git
$ cd mdp
$ ./configure
$ make
$ make install
$ mdp sample.md
  • On Arch you can use the existing AUR package.

  • On Slackware, grab the SlackBuild here: (http://slackbuilds.org/apps/mdp/), or run sbopkg -i mdp

  • On FreeBSD, you can use the port misc/mdp.

  • On Redhat/Centos/Fedora you can use the mdp.spec file by tar the directory and rpmbuild it:

    $ tar -zcvf 0.93.0.tar.gz mdp/ && rpmbuild -ta 0.93.0.tar.gz

Most terminals support 256 colors only if the TERM variable is set correctly. To enjoy mdp's color fading feature:

$ export TERM=xterm-256color

How to use it:

Horizontal rulers are used as slide separator.

Supports basic markdown formating:

  • line wide markup

    • headlines
    • code
    • quotes
    • unordered list
  • in-line markup

    • bold text
    • underlined text
    • code

Supports headers prefixed by @ symbol.

  • first two header lines are displayed as title and author in top and bottom bar

Review sample.md for more details.


Controls:

  • h, j, k, l, Cursor keys, Space, Enter, Backspace, Page Up, Page Down - next/previous slide
  • Home - go to first slide
  • End - go to last slide
  • 1-9 - go to slide n
  • q - exit

How to debug it:

To make a debug version of mdp, just type:

$ make DEBUG=1

About

A command-line based markdown presentation tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Roff 76.9%
  • Shell 18.6%
  • Makefile 3.0%
  • C 1.4%
  • C++ 0.1%
  • M4 0.0%