Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item

by Darkwing (Beadle)
on Jan 03, 2023 at 07:21 UTC ( [id://11149330]=note: print w/replies, xml ) Need Help??


in reply to Re: Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item
in thread Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item

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.

Replies are listed 'Best First'.
Re^3: Pod::Markdown: problem with =begin markdown ... =end markdown inside an =item
by kcott (Archbishop) on Jan 03, 2023 at 09:01 UTC

    Thanks for the follow-up and the "filter script" clarification.

    Please let us know how you go chasing this up with the author.

    — Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-19 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found