WordPress.org

Ready to get started?Download WordPress

Forums

overriding textile when necessary? (3 posts)

  1. public_radio
    Member
    Posted 9 years ago #

    Hi,

    I am using some custom defined tags, that I call and <track>.

    For instance, I'll have something in the post that looks like <track>Artist - Title</track>Song description and it will then call an mp3 with the filename Artist - Title.mp3.

    The problem is that Textile is turning my hyphen into an en dash, and in this case I need it to stay a hyphen because it's in the filename.

    Is there any way to override textile in certain cases? is there a better way to do what i'm trying to do? Thanks in advance.

  2. Kafkaesqui

    Posted 9 years ago #

    There are a few ways I know of that allow you to change or turn off formatting on a per post basis. One of them is:

    http://dev.wp-plugins.org/wiki/TextControl

  3. Jaykul
    Member
    Posted 8 years ago #

    Textile 2.6 (based on TextPattern 4) has working == or <notextile> blocks, so you can just <track>==Artist - Title==</track> ... or whatever. Also, if you use the entity = ( ampersand-hashmark, aka pound sign-61-semicolon ), Textile will leave it alone.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.