Title attribute in a link with Textile (7 posts)

  1. LiZharD
    Posted 10 years ago #

    it is possible use a title attribute in a link made with textile?
    eg Hello

  2. Kafkaesqui

    Posted 10 years ago #

    According to the info at http://textism.com/tools/textile/

    "This is a link (This is a title) ":http://www.textism.com

    Will become:
    <a href="http://www.textism.com" title="This is a title">This is a link</a>

  3. LiZharD
    Posted 10 years ago #

    Hi Kaf,
    don't works for me, all text under (..) is print out as normal text.
    I'm using textile 2 plugin

  4. Kafkaesqui

    Posted 10 years ago #

    Well, I tested in with the Textile 2 plugin (2.4 beta), and it worked as advertised for me.

    EDIT: Ah, I see what may be up. Example above has a space where there should be none (between the closing ) and quote mark):

    "This is a link (This is a title)":http://www.textism.com

    I won't blame myself, as I copied&pasted the example from the Textile pages...

  5. LiZharD
    Posted 10 years ago #

    Thanks now works! I'm new on textile.
    I've experienced many problems on inline formatting when replacing <span> tag:
    eg %{color:red}(this text must be between parenthesis)% or %(class)*%
    There is a real escape character? I've tried with double = and backslash but they seems don't works

  6. Kafkaesqui

    Posted 10 years ago #

    Couldn't say, as I only know the basic syntax for Textile. Spent far too long writing content intermixed with HTML to retrain for yet another format. And considering that's the format it finally ends up in, I'd rather stick to it.

  7. Jaykul
    Posted 10 years ago #

    The new version 2.6 release has working escapes ( == or <notextile> ), and you should be able to insert HTML without pain now.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.