Darkwing has asked for the wisdom of the Perl Monks concerning the following question:
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:
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?- Huhu! This should be **bold** using markdown.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item
by kcott (Archbishop) on Jan 02, 2023 at 20:02 UTC | |
by Darkwing (Scribe) on Jan 03, 2023 at 07:21 UTC | |
by kcott (Archbishop) on Jan 03, 2023 at 09:01 UTC |