[pmwiki-users] Question about Attach and hyperlinks
Patrick R. Michaud
pmichaud at pobox.com
Tue Mar 14 09:13:28 CST 2006
On Tue, Mar 14, 2006 at 09:02:21AM -0600, Manish Ranade wrote:
> Hi,
>
> Is there any way to add width and height for the image when you add an
> image to wiki page?
%width=100% Attach:image.jpg
See http://www.pmwiki.org/wiki/PmWiki/Images#resizing
> Is there any way to set 'title' and 'rel' attributes for hyperlinks in a
> wiki page?
%rel=nofollow% http://www.example.com
adds rel='nofollow' to the link. Setting titles is a bit trickier at
the moment; but try:
$UrlLinkFmt =
"<a class='urllink' href='\$LinkUrl' rel='nofollow'
title='\$LinkAlt'>\$LinkText</a>";
and then you may be able to do
[[http://www.example.com"Link title"]]
I haven't tried this myself yet. We could also probably enable
a title= wikistyle for links.
Pm
More information about the pmwiki-users
mailing list