Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-11 13:59:35

amyng
Member
Registered: 2007-01-05
Posts: 55

[textile] How to turn off bold letters when typing in *

Hi everyone,

How do I turn off the phrase turning into bold when all I want is to express an expression, such as * cough *? (without the space, of course)

Tried to search for it, but it lead me nowhere. Perhaps I’m not phrasing the question correctly..

amy

Offline

#2 2007-02-11 17:18:06

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: [textile] How to turn off bold letters when typing in *

Wrap it with the notextile modifiers == or notextile.

==*cough*==

generates

*cough*

Textile Reference

Last edited by hakjoon (2007-02-11 17:18:56)


Shoving is the answer – pusher robot

Offline

#3 2007-02-11 17:21:54

amyng
Member
Registered: 2007-01-05
Posts: 55

Re: [textile] How to turn off bold letters when typing in *

Thanks so much! :)

Offline

#4 2007-02-16 03:11:52

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [textile] How to turn off bold letters when typing in *

What you might want to do is set up a global CSS class for this, like expr.

.expr {
color:pink;
whatever:etc.;
}

and then in Textile, whenever you write something that is a expression, you use this class. In inline text (just a few words), you could use the @span] Textile shortcut:

%(expr)yelling:% I'm the king of the woooorld!

Offline

Board footer

Powered by FluxBB