Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-02-23 19:06:09

saltnlight5
New Member
Registered: 2010-02-23
Posts: 2

[textile] How do you escape a large block of textile itself?

Hi there,

I see “notextile.. “ can be use to escape textile modifiers, but it ends as soon as it finds another “p. “ or “h1. “ Is there way to escape a larger block of text, perhaps use a HERE_DOC notation or some sort to explicitly telling it where to ends? Basically, I want to escape a large block of text, in regardless they are textile in itself or not, until a marker is found. Can I do that with “notextile” modifier?

Thanks.

Offline

#2 2010-02-23 19:27:21

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: [textile] How do you escape a large block of textile itself?

One way is to disable textile all together for the particular article.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2010-02-23 20:52:04

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: [textile] How do you escape a large block of textile itself?

The only sense I could see in such an undertaking is the display of Textile code. So, well … an opening bc.. and a “closing” p.. came to mind.
Each of these have to be preceded by an empty line. Note the blank space after each of the Textile control characters.

Is that what you’re looking for?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#4 2010-02-23 21:09:49

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: [textile] How do you escape a large block of textile itself?

saltnlight5 wrote:

I see “notextile.. “ can be use to escape textile modifiers, but it ends as soon as it finds another “p. “ or “h1. “

Hmm, just exchanged my bc.. for notextile.. and didn’t get the results you’ve described. Had you thought of the preceding empty line?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB