/mdp

A command-line based markdown presentation tool.

Primary LanguageCGNU General Public License v3.0GPL-3.0

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
$ make
$ make install
$ mdp sample.md

How to use it:

Horizontal rulers are used as slide separator.

Supports basic markdown formating:

  • line wide formating

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

    • 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 - 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