[pmwiki-users] Custom bullets in lists
Patrick R. Michaud
pmichaud at pobox.com
Thu May 25 18:48:56 CDT 2006
On Fri, May 26, 2006 at 12:37:00AM +0200, Roman wrote:
> Nice, but it requires to define style for each image. If Pm could
> extend Wikistyles to use attachment or intermap link in image url(),
> then we could use any image without the need to define style for it.
> But I don't know how hard is it to implement.
It's hard enough to implement that it's not likely to happen soon.
It's a bit of a chicken-and-egg problem. Because we want wikistyles
to be able to affect images (e.g., %width=50% Attach:foo.gif),
the wikistyle markup ought to be processed after the Attach: markup.
But this messes things up for something like
%list list-style=url(Attach:pdf.png)%
because in this case we want the Attach:pdf.png to be replaced
with a plain url and not an HTML <img .../> tag. But in order
to do that we have to somehow prevent the normal Attach: markup
from doing its thing.
There's lots of approaches that we could take to do something like
this, but frankly it hasn't been a highly-demanded option so
the reward/effort ratio isn't all that high at the moment.
Pm
More information about the pmwiki-users
mailing list