.\" This is the groff documentation source for MDP
.\" Preview with: groff -man -Tascii mdp.1
.\" or: man -l mdp.1
.TH MDP 1 "2015-04-10" "User Commands"
mdp \- A command-line based
markdown presentation tool
.RI [ OPTION ].\|.\|.\|
.RI [ FILE ]
is a command-line program that allows you to make elegant presentations from
.B markdown formatted
.IR FILE s.
It is as easy as write your presentation content in the text editor of your
preference and launch the presentation from the command-line.
.SS "Input Control"
The input file from which the presentation is read. If no file is specified,
or if the file name is
.BR \- ","
the presentation is read from standard input.
.SS "Output Control"
.BR \-f ", " \-\^\-nofade
Disable color fading in 256 color mode.
.BR \-i ", " \-\^\-invert
Swap black and white color.
.BR \-t ", " \-\^\-notrans
Disable transparency in transparent terminal.
.SS "Miscellaneous Options"
.BR \-d ", " \-\^\-debug
Enable debug messages on STDERR. Add multiple times to increases debug level.
.BR \-h ", " \-\^\-help
Display usage message and exit.
.BR \-v ", " \-\^\-version
Display version and license information.
.SH MARKDOWN FORMATTING
For a complete list of supported markups, refer the sample presentation
(sample.md) provided alongside
.BR mdp ,\|
or online available at
.IR https://github.com/visit1985/mdp .
is split into multiple slides by horizontal rules. Each consisting of at least
characters on a single line.
.B This line must be prefixed by an completely empty line.
It can also contain spaces but no other characters.
If any slide is too large to fit into your current screen, an error message
will be displayed at the moment the presentation is launched.
.SS "Line-by-Line Mode"
.SS "Block-by-Block Mode"
.BR "<br>" ", " "<BR>" " or " "^"
on an otherwise empty line signals
to stop output of the current slide (stop point) and wait for a key-press by
This enables the user to display bullet points or list items one by one
(line by line) or block by block.
supports header lines in the format of
.BR @ "[DESCRIPTION] " [VALUE]
The first two header lines are displayed as title and author in top and
Headers are only recognized at the top of the input
.IR FILE .
.SS "Line spanning markup"
Supported are headlines, code blocks, quotes and unordered lists.
.SS "In-line markup"
As well as bold text, underlined text and in-line code.
.SH COLOR SUPPORT
Most terminals are able to display 256 colors these days. But some of them
enable only 16 colors by default. To enjoy
.BR mdp "'s"
full capabilities, these terminals need to be signaled to enable 256 color
mode. This is usually done by setting the TERM environment variable.
.BR "export TERM=xterm-256color"
.SH KEYBOARD CONTROLS
.BR "h, j, k, l, Arrow keys, Space, Enter, Backspace, Page Up, Page Down"
Display next/previous slide or continue after a stop point.
.BR "g, Home"
Jump to first slide.
.BR "G, End"
Jump to last slide.
.BR N "th"
Reload the input
.IR FILE .\|
This key is disabled if input was read from standard input.
.BR mdp "."
Written by Michael Goehler and others, see
.IR https://github.com/visit1985/mdp/blob/master/AUTHORS "."
Copyright (C) 2015 Michael Goehler
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.