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.

In reply to Re^2: Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item by Darkwing
in thread Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item by Darkwing

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.