aboutsummaryrefslogtreecommitdiff
path: root/test/command/6858.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-11-18 22:44:32 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-11-18 22:44:32 -0800
commit0962b30d8428ef875034c15ae7d9c67c62c2f177 (patch)
treee2cbb1b6986fa7ac2ef6fba02a3145870e57f9c9 /test/command/6858.md
parent3f278f580e82670999b2bc8e6f10001b792c574c (diff)
downloadpandoc-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/command/6858.md')
-rw-r--r--test/command/6858.md52
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
+```