1 .\" This is the groff documentation source for MDP
3 .\" Preview with: groff -man -Tascii mdp.1
8 .TH SMDP 1 "2016-04-02" "User Commands"
10 smdp \- A suckless command-line based
11 markdown presentation tool
14 .RI [ OPTION ].\|.\|.\|
19 is a command-line program that allows you to make elegant presentations from
23 It is as easy as write your presentation content in the text editor of your
24 preference and launch the presentation from the command-line.
28 aimed to be more configurable and simple, please check out the original project too!
34 The input file from which the presentation is read. If no file is specified,
35 or if the file name is
37 the presentation is read from standard input.
40 .BR \-e ", " \-\^\-expand
41 Enable character entity expansion (e.g. '>' becomes '>').
43 .BR \-s ", " \-\^\-noslidenum
44 Do not show slide number at the bottom.
46 .BR \-x ", " \-\^\-noslidemax
47 Show slide number, but not total number of slides.
49 .SS "Miscellaneous Options"
51 .BR \-d ", " \-\^\-debug
52 Enable debug messages on STDERR. Add multiple times to increases debug level.
54 .BR \-h ", " \-\^\-help
55 Display usage message and exit.
57 .BR \-v ", " \-\^\-version
58 Display version and license information.
60 .SH ENVIRONMENT VARIABLES
63 .BR MDP_LIST_HEAD[1-3],\ MDP_LIST_OPEN[1-3]
64 Controls the list characters of unordered lists.
66 The default is equivalent to:
80 .SH MARKDOWN FORMATTING
81 For a complete list of supported markups, refer the sample presentation
82 (sample.md) provided alongside
84 or online available at
85 .IR https://github.com/MrPicklePinosaur/smdp .
89 is split into multiple slides by horizontal rules. Each consisting of at least
94 characters on a single line.
95 .B This line must be prefixed by an completely empty line.
96 It can also contain spaces but no other characters.
98 If any slide is too large to fit into your current screen, an error message
99 will be displayed at the moment the presentation is launched.
101 .SS "Line-by-Line Mode"
102 .SS "Block-by-Block Mode"
104 .BR "<br>" ", " "<BR>" " or " "^"
105 on an otherwise empty line signals
107 to stop output of the current slide (stop point) and wait for a key-press by
110 This enables the user to display bullet points or list items one by one
111 (line by line) or block by block.
115 supports header lines in the format of
116 .BR @ "[DESCRIPTION] " [VALUE]
117 The first two header lines are displayed as title and author in top and
120 Headers are only recognized at the top of the input
123 .SS "Line spanning markup"
124 Supported are headlines, code blocks, quotes and unordered lists.
127 As well as bold text, underlined text and in-line code.
130 Most terminals are able to display 256 colors these days. But some of them
131 enable only 16 colors by default. To enjoy
133 full capabilities, these terminals need to be signaled to enable 256 color
134 mode. This is usually done by setting the TERM environment variable.
136 .BR "export TERM=xterm-256color"
138 .SH KEYBOARD CONTROLS
140 .BR "h, j, k, l, Arrow keys, Space, Enter, Backspace, Page Up, Page Down"
141 Display next/previous slide or continue after a stop point.
157 This key is disabled if input was read from standard input.
165 can be configured by modifying config.h and recompiling.
167 Written by Michael Goehler and others, see
168 .IR https://github.com/visit1985/mdp/blob/master/AUTHORS "."
169 Forked and modified by pinosaur.
171 Copyright (C) 2018 Michael Goehler
173 This is free software; see the source for copying conditions. There is NO
174 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.