G'day Darkwing,

I didn't have Pod::Markdown so I installed it and got the latest version, 3.300. I was able to reproduce your results: so rt:131585 is still outstanding. By the way, I'm using Perl v5.36.0.

That bug was raised on 28-Jan-2020. The last module update was on 1-Nov-2020. So maintenance was at least active at the time that the bug was reported. You could try contacting the module author, Randy Stauner, directly: there are some (links to) contact details in https://metacpan.org/author/RWSTAUNER. (I note that he's a registered monk, rwstauner, but as he hasn't been seen wandering the cloisters in about a decade, contact via /msg is probably a dead-end.)

In terms of a workaround, I'm not really across why you want "=begin markdown" when you're converting to Markdown. Removing both the "=begin" and "=end" paragraphs, and changing "**bold**" to "B<bold>", would appear to provide the output you're looking for.

$ cat test.pod =over =item * Huhu! This should be B<bold> using markdown. =back $ pod2markdown < test.pod > test.md $ cat test.md - Huhu! This should be **bold** using markdown.

Plugging that into https://codebeautify.org/markdown-viewer, I get

If you could provide a few more details regarding your ultimate goal, we may be able to provide an improvement upon my simplistic workaround offered above.

— Ken


In reply to Re: Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item by kcott
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.