diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-11-18 22:44:32 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-11-18 22:44:32 -0800 |
commit | 0962b30d8428ef875034c15ae7d9c67c62c2f177 (patch) | |
tree | e2cbb1b6986fa7ac2ef6fba02a3145870e57f9c9 /test | |
parent | 3f278f580e82670999b2bc8e6f10001b792c574c (diff) | |
download | pandoc-0962b30d8428ef875034c15ae7d9c67c62c2f177.tar.gz |
Man reader: improve handling of .IP.
We now better handle `.IP` when it is used with non-bullet,
non-numbered lists, creating a definition list.
We also skip blank lines like groff itself.
Closes #6858.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/6858.md | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/test/command/6858.md b/test/command/6858.md new file mode 100644 index 000000000..53cb9bddb --- /dev/null +++ b/test/command/6858.md @@ -0,0 +1,52 @@ +``` +% pandoc -t markdown -f man +.TH FvwmAnimate 1 "Date" Fvwm "Fvwm Modules" +.UC +.SH NAME +\fBFvwmAnimate\fP \- the fvwm animate module +.SH SYNOPSIS +Module FvwmAnimate [ModuleAlias] + +.IP "*FvwmAnimate: Color \fBcolor\fP" + +Tells \fBFvwmAnimate\fP what color to draw with. +The color is "XOR'ed" (exclusive ORed) onto the background. + +.IP "*FvwmAnimate: Pixmap \fBpixmap\fP" + +Tells \fBFvwmAnimate\fP to use \fBpixmap\fP to draw with. This can be useful +if \fB*FvwmAnimate: Color\fP gives poor results. +^D +# NAME + +**FvwmAnimate** - the fvwm animate module + +# SYNOPSIS + +Module FvwmAnimate \[ModuleAlias\] + +\*FvwmAnimate: Color color + +: Tells **FvwmAnimate** what color to draw with. The color is + \"XOR\'ed\" (exclusive ORed) onto the background. + +\*FvwmAnimate: Pixmap pixmap + +: Tells **FvwmAnimate** to use **pixmap** to draw with. This can be + useful if **\*FvwmAnimate: Color** gives poor results. +``` + +``` +% pandoc -t markdown -f man +.IP "\[bu]" + +hi + +.IP "\[bu]" + +there +^D +- hi + +- there +``` |