命令行上展示markdown

https://github.com/visit1985/mdp

image

How to get started:

mpd needs the ncurses headers to compile.So make sure you have them installed:

  • On Ubuntu you need libncurses5 and libncurses5-dev to be installed.

Now download and install mpd:

$ 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

  • in-line formating

    • bold text
    • underlined text

Supports headers prefixed by @ symbol.

  • first two header lines are displayed as title and authorin 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
本文由 黑白世界4648 第一时间收藏到GET,由 luofei614 创建本知识库永久备份,原文来自 → github.com

「GetParty」

关注微信号,推送好文章

微信中长按图片即可关注

更多精选文章

评论
微博一键登入