Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Quick Textile question- Can a class be applied to a hyperlink?
I’m using a class of ‘external’ for hyperlinks outside my site, kind of like this:
<a href="http://example.com" class="external">My Link</a>
Is there a shorter way to create this?
"My Link":http://example.com
If I add the class in parentheses it’s interpreted as a title…
i.e. "My Link(external)":http://example.com
Offline
Re: [textile] Quick Textile question- Can a class be applied to a hyperlink?
Try "(external)My Link":http://example.com
Last edited by jsoo (2009-06-04 10:58:02)
Code is topiary
Offline
Re: [textile] Quick Textile question- Can a class be applied to a hyperlink?
Bingo! That’s exactly what I was after. Thank you jsoo
Offline
#4 2009-06-17 15:02:00
- jeancf
- New Member
- Registered: 2009-06-17
- Posts: 1
Re: [textile] Quick Textile question- Can a class be applied to a hyperlink?
jsoo wrote:
Try
"(external)My Link":http://example.com
That does not work for me (in Drupal).
"(external)My Link":http://example.com
gets converted to <a href="http://example.com">(external)My Link</a>
I am using the Drupal module with textile-2.0.0 library. As I realize that this syntax is working here, is there a newer version of the lib that I can use?
Last edited by jeancf (2009-06-17 15:37:44)
Offline
Re: [textile] Quick Textile question- Can a class be applied to a hyperlink?
jeancf wrote:
I am using the Drupal module with textile-2.0.0 library. As I realize that this syntax is working here, is there a newer version of the lib that I can use?
Note the forum head line: Textpattern Support Forum ;) Textpattern includes updated Textile library.
Last edited by Gocom (2009-06-17 17:18:25)
Offline