ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
slide:tool:mdp

mdp(A command-line based markdown presentation tool.)

Markdown形式のプレゼンテーションをコマンドラインで. 日本語(UTF-8)もOK.

画像など以外は大体Marp Nextで書いたものが流用できる.ただしMapd Nextに比べて文法が厳しい

遠隔プレゼンの場合は GoTTY や TTYd などを使ってウェブブラウザで閲覧してもらうことが出来る.このとき操作できないようにしておかないとアクセスされるたびに画面サイズが変わってしまい面倒なので注意.

導入

Debian sid amd64

$ sudo apt install mdp
$ mdp /usr/share/doc/mdp/sample.md

source

$ git clone https://github.com/visit1985/mdp.git
$ cd mdp
$ make
$ ./mdp --help
Usage: mdp [OPTION]... [FILE]
A command-line based markdown presentation tool.

  -d, --debug       enable debug messages on STDERR
                    add it multiple times to increases debug level
  -e, --expand      enable character entity expansion
  -f, --nofade      disable color fading in 256 color mode
  -h, --help        display this help and exit
  -i, --invert      swap black and white color
  -t, --notrans     disable transparency in transparent terminal
  -s, --noslidenum  do not show slide number at the bottom
  -v, --version     display the version number and license
  -x, --noslidemax  show slide number, but not total number of slides
  -c, --nocodebg    don't change the background color of code blocks

With no FILE, or when FILE is -, read standard input.

$ ./mdp ./sample.md

キーバインド

  • 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

コメント

コメントを入力. Wiki文法が有効です:
   __ __   ___   __  __   __  ___   ____
  / // /  / _ ) / / / /  /  |/  /  / __/
 / _  /  / _  |/ /_/ /  / /|_/ /  / _/  
/_//_/  /____/ \____/  /_/  /_/  /_/
 
slide/tool/mdp.txt · 最終更新: 2020/08/09 07:13 by matoken