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):
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.=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
|
|---|
| 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 |