[pmwiki-users] improved markup for floating images...?

Christian Schlatter ch at schlatter.net
Thu Jul 28 05:06:43 CDT 2005


Patrick R. Michaud wrote:
> Here I'm explicitly including the possibility of re-using 
> some of the existing PmWiki block markup sequences.  Some ideas...
> 
>     %frame% Attach:image.jpg | caption
>     %frame% Attach:image.jpg / caption
>     %frame% Attach:image.jpg - caption
>     %frame% Attach:image.jpg -- caption
>     %frame% Attach:image.jpg : caption
>     %frame% Attach:image.jpg || caption
>     %frame% Attach:image.jpg :: caption
>     %frame% Attach:image.jpg ! caption !         ( analogue: table captions )
>     %frame% Attach:image.jpg ! caption           ( analogue: headings )
>     %frame% Attach:image.jpg { caption }
>     %frame% Attach:image.jpg [ caption ]
> 
> Note that captioning won't be available for images that are inlined with
> text -- this is only for images that are in their own display element.

Personally, I prefer the

     >>rframe<<
     Attach:something.jpg\\
     Caption goes here
     >><<

syntax, since

- it uses the known styling elements
- a caption could also be placed above an image (or title + caption)
- a caption should be placed below the image code for better readability

-ChristianS




More information about the pmwiki-users mailing list