Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-19 18:24:34

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

[textile] Other attributes with Textile

I know Textile supports classes using (), but how can I use say the rel or title attribute?

Offline

#2 2010-01-19 18:45:44

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [textile] Other attributes with Textile

From classTextile.php:

"linktext(title)":url	->	 <a href="url" title="title">linktext</a>
!imageurl(alt text)!	->	 <img src="imageurl" alt="alt text" />

These are the only cases I know that go beyond the standard class, id, style, and language attributes. With images I think you end up with both alt and title attributes.

The Textile class also includes a rel property, but I don’t think you can get at it through the Textile language.


Code is topiary

Offline

#3 2010-01-19 18:53:50

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Re: [textile] Other attributes with Textile

Thanks jsoo.
I used a standard tag since there were a lot of attributes in this case.

Offline

#4 2011-01-10 21:23:46

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [textile] Other attributes with Textile

richtestani

rel attribute support on images and links is now a feature candidate and I await feedback on it via the linked post or issue 2 on the repo.


Steve

Offline

Board footer

Powered by FluxBB