[Pmwiki-users] More on attachments

Patrick R. Michaud pmichaud at sci.tamucc.edu
Tue Nov 19 17:06:16 CST 2002

Woops!  I found a slight flaw in my earlier proposal:

> ...
> [[attr url]]  	link to url rendered as <a href=url attr>[1]</a>
> [[attr text]]		text rendered as <span attr>text</span>
> [[attr url.jpg]]	image rendered as <img src=url.jpg attr>

Obviously the last one of these can't work, since [[attr url.jpg]]
is really a subcase of [[attr url]] and should be rendered as 
<a href=url.jpg attr>[1]</a>.  But I think it's such a minor case
anyway that it's not worth worrying about and doesn't affect the basic
concept of the proposed syntax.


More information about the pmwiki-users mailing list