X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=README.md;h=cbf332653aece50ee805e134b085c77e2214a979;hb=618df4fd72bc78c3012a0987ab9e7183a404b20c;hp=ce9da7dabb3023b3215698a56cf2b95fc983d690;hpb=d4843ea375360f37e965709e73c0fbd68e302dca;p=smdp.git diff --git a/README.md b/README.md index ce9da7d..cbf3326 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,27 @@ ## mdp - A command-line based markdown presentation tool. -![image](https://cloud.githubusercontent.com/assets/2237222/4264047/62cc07b8-3c12-11e4-8710-f2e5959200c8.png) +![image](https://cloud.githubusercontent.com/assets/2237222/4280231/d63178fa-3d2a-11e4-88a6-2b8e3608c4ca.gif) --- *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 +- On Arch you can use the existing [AUR package](https://aur.archlinux.org/packages/mdp-git/). + --- *How to use it:* @@ -25,10 +34,12 @@ _Supports basic markdown formating:_ - headlines - code - quotes + - unordered list - in-line formating - bold text - underlined text + - code _Supports headers prefixed by @ symbol._ @@ -48,3 +59,11 @@ _Review sample.md for more details._ - 1-9 - go to slide n - q - exit + +--- + +*How to debug it:* + +To make a debug version of `mdp`, just type: + + $ make DEBUG=1