Hi Ken,
thanks. I'll send a mail.
The example, of course, is a minimal example. In reality, i do something else. Main purpose of using markdown embedded in POD is displaying tables without the need to switch to a non-standard such as PseudoPOD. Example (the real table has more rows):
=for ! begin markdown unindent=|
Option Import Trace Export
-------------- -------- ------- --------
`-b` o o -
`-c` o o o
`-D` o o o
`-e` - o -
`-E` o o o
`-f` -/m -/m -/m
`-I` o o o
`-m` - o -
`-M` o - -
`-n` o - -
`-o` o o o
`-O` o o o
=for ! end markdown
When typing
perlpod TheTool.pl, the
=for lines are ignored and the user sees an ascii formatted table. When i produce the HTML and LaTeX code i first pass this to a filter script that converts the
=for ... lines to
=begin markdown and
=end markdown (the
unindent=| in the first
=for is an additional argument for this filter). So i get a nicely formatted HTML/LaTeX table. This works fine outside a list but unfortunately it does not inside an
=item, here i also get only ascii formatting even in HTML and LaTeX which again is caused by this unwanted indentation.