mdp

A command-line based markdown presentation tool.

Github星跟蹤圖

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 Raspbian (Raspberry Pi) you need libncurses5-dev and libncursesw5-dev

Now download and install mdp:

$ git clone https://github.com/visit1985/mdp.git
$ cd mdp
$ make
$ make install
$ mdp sample.md

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, Arrow keys,
    Space, Enter, Backspace,
    Page Up, Page Down - next/previous slide
  • Home, g - go to first slide
  • End, G - go to last slide
  • 1-9 - go to slide n
  • r - reload input file
  • q - exit

How to debug it:

To make a debug version of mdp, just type:

$ make DEBUG=1

主要指標

概覽
名稱與所有者visit1985/mdp
主編程語言C
編程語言C (語言數: 4)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2014-09-14 13:18:50
推送於2025-01-26 12:12:50
最后一次提交2025-01-26 03:25:26
發布數23
最新版本名稱1.0.15 (發布於 )
第一版名稱0.91.1 (發布於 )
用户参与
星數5.1k
關注者數73
派生數257
提交數296
已啟用問題?
問題數102
打開的問題數14
拉請求數56
打開的拉請求數3
關閉的拉請求數10
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?