GitHub Hot Board

GitHub Hot Board · Hồ sơ kho lưu trữ

visit1985/mdp

A command-line based markdown presentation tool. (Mô tả đến từ chính kho lưu trữ.)

C#command-line#markdown#presentation

Dữ liệu tại October 29visit1985

Thứ hạng tốt nhất

#410

Mọi thời đại · C theo ngôn ngữ

5.3K

Tổng sao

265

Tổng fork

0

Số ngày có mặt (30 ngày)

Giấy phép: GPL-3.0Push gần nhất: September 9Issue mở (gồm PR): 7Thu thập từ 2026-10-25; chưa rõ = chưa thu thập được

Tài liệu dự án

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
  • on Fedora you need ncurses-devel and ncurses-c++-libs

Now download and install mdp:

$ git clone https://github.com/visit1985/mdp.git
$ cd mdp
$ make
$ make install
$ mdp sample.md
  • On Arch Linux, you can use the existing package.
  • on Cygwin you can use the existing package from the setup program.
  • On Debian, you can use the existing DEB package, or run apt-get install mdp.
  • On FreeBSD, you can use the port misc/mdp.
  • On MacOS, use either the Homebrew Formula by running brew install mdp or install with MacPorts with sudo port install mdp.
  • On Slackware, grab the SlackBuild here: (http://slackbuilds.org/apps/mdp/), or run sbopkg -i mdp.
  • On Ubuntu, you can use the existing DEB package, or run apt-get install mdp.

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 formatting:

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


Default 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

Configuration

A config.h configuration file is available in include/, change the settings you want and recompile. Colors, keybindings and list types are configurable as of now. Note that configuring colors only works in 8 color mode.


How to debug it

To make a debug version of mdp, just type:

make DEBUG=1

Additional project resources

See the docs folder for any other supporting materials.

Thứ hạng hiện tại

Diễn biến 30 ngày

Không có bản ghi nào trong 30 ngày qua.

Gắn huy hiệu vào README của bạn · visit1985/mdp[![Gắn huy hiệu vào README của bạn](https://git.vaiox.xyz/api/badge/visit1985/mdp.svg)](https://git.vaiox.xyz/vi/repo/visit1985/mdp)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/vi/repo/visit1985/mdp"><img src="https://git.vaiox.xyz/api/badge/visit1985/mdp.svg" alt="Gắn huy hiệu vào README của bạn" height="20"></a>

← Về bảng xếp hạng

GitHub Hot BoardCỗ Máy Thời GianKhám phá联系我们 · Contact