Hi,

to document my perl app i use a tool chain with Markdown as intermediate format. I use Pod::Markdown to convert POD to Markdown. There is one problem with this module: if i try to embed Markdown into an =item then it adds too much indentation, so the embedded Markdown is always verbatim. Simple example:

=over =item * Huhu! =begin markdown This should be **bold** using markdown. =end markdown =back

this results in:

- Huhu! This should be **bold** using markdown.
I'd expect:
- Huhu! This should be **bold** using markdown.
A three year old bug report exists, but without any response: https://rt.cpan.org/Public/Bug/Display.html?id=131585. I looked into the code to see if i can fix this by myself, but it seems that this is caused by a base class method. Here i stopped since i am not familiar with the POD parser classes. Does anyone know of a solution or workaround for this problem?

In reply to 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.