Subject: | To much indentation for =begin markdown ... =end markdown when used inside a list makes content always a code block |
Date: | Tue, 28 Jan 2020 14:15:35 +0000 |
To: | "bug-pod-markdown [...] rt.cpan.org" <bug-pod-markdown [...] rt.cpan.org> |
From: | "Rindfrey, Klaus" <Klaus.Rindfrey [...] elektrobit.com> |
Hi,
i use Pod::Markdown (along with pandoc) a lot for generating my docu. Now I discovered the following problem:
If i use a =begin markdown ... =end markdown inside an =over ... =back
list, then its content gets too much indentation, such that the
content results always in a code block.
Example:
--- foo.pod ---
=head1 Foo
Text, text.
=over
=item First
=begin markdown
This should be a normal `markdown` text! But it becomes a code block, because
of too much indentation!
=end markdown
=back
--- foo.pod ---
This results in:
--- foo.md ---
# Foo
Text, text.
- First
This should be a normal `markdown` text! But it becomes a code block, because
of too much indentation!
--- foo.md ---
It should be:
Show quoted text
--- correct ---
# Foo
Text, text.
- First
This should be a normal `markdown` text! But it becomes a code block, because
of too much indentation!
--- correct ---
Please fix indentation.
Regards,
Klaus