develooper Front page | perl.perl5.porters | Postings from November 2021

Pre-RFC: images in Pod

Thread Next
Tomasz Konojacki
November 16, 2021 01:42
Pre-RFC: images in Pod
Message ID:
Images are one of the most frequently requested features for Pod. There
was a proposal in the past[1] but it failed to achieve unanimous support
of the community, mainly because it was perceived as too complicated.

My proposal takes a different route. Images will be inputted using the
new formatting code, P<>, which stands for "Picture". 

Compared to the previous proposal this has several advantages:

- It's much simpler, it doesn't require a YAML parser.
- Images can be embedded inline inside a paragraph.
- It plays well with the table syntax that I have proposed in the other

Of course, there are also some disadvantages. The syntax isn't
extensible; for example, it's impossible to specify the dimensions of
the image. In my opinion, this isn't a big loss.

Some examples:

P<|alt text>
L<P<|this image is a link>|>

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About