X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=mdp.1;h=b43fcffba350849a273b08c6f23742f26dede2d6;hb=60f4f976c4f4743ff299dcc3a92c0b9f86d8bbc3;hp=599f9a2112d8f5a620313b73978abce3d03e34c0;hpb=5e1bd6398280c0011cbcd7be0e1d5449cf9a0caa;p=smdp.git diff --git a/mdp.1 b/mdp.1 index 599f9a2..b43fcff 100644 --- a/mdp.1 +++ b/mdp.1 @@ -5,7 +5,7 @@ .\" . . -.TH MDP 1 "2015-04-10" "User Commands" +.TH MDP 1 "2016-04-02" "User Commands" .SH NAME mdp \- A command-line based markdown presentation tool @@ -33,14 +33,26 @@ or if the file name is the presentation is read from standard input. .SS "Output Control" .TP +.BR \-c ", " \-\^\-nocodebg +Don't change the background color of code blocks. +.TP +.BR \-e ", " \-\^\-expand +Enable character entity expansion (e.g. '>' becomes '>'). +.TP .BR \-f ", " \-\^\-nofade Disable color fading in 256 color mode. .TP .BR \-i ", " \-\^\-invert Swap black and white color. .TP +.BR \-s ", " \-\^\-noslidenum +Do not show slide number at the bottom. +.TP .BR \-t ", " \-\^\-notrans Disable transparency in transparent terminal. +.TP +.BR \-x ", " \-\^\-noslidemax +Show slide number, but not total number of slides. . .SS "Miscellaneous Options" .TP @@ -53,6 +65,26 @@ Display usage message and exit. .BR \-v ", " \-\^\-version Display version and license information. . +.SH ENVIRONMENT VARIABLES +.SS "Output Control" +.TP +.BR MDP_LIST_HEAD[1-3],\ MDP_LIST_OPEN[1-3] +Controls the list characters of unordered lists. + +The default is equivalent to: +.br +MDP_LIST_OPEN1=' | ' +.br +MDP_LIST_OPEN2=' | ' +.br +MDP_LIST_OPEN3=' | ' +.br +MDP_LIST_HEAD1=' +- ' +.br +MDP_LIST_HEAD2=' +- ' +.br +MDP_LIST_HEAD3=' +- ' +. .SH MARKDOWN FORMATTING For a complete list of supported markups, refer the sample presentation (sample.md) provided alongside @@ -136,11 +168,14 @@ This key is disabled if input was read from standard input. Exit .BR mdp "." . +.SH CUSTOMIZATION +.B mdp +can be configured by modifying config.h and recompiling. .SH AUTHOR Written by Michael Goehler and others, see .IR https://github.com/visit1985/mdp/blob/master/AUTHORS "." .SH COPYRIGHT -Copyright (C) 2015 Michael Goehler +Copyright (C) 2018 Michael Goehler .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.