Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-05 17:26:39

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

[textile] Combining bq. @ and pre.

How?

How do I combine bq. pre. and @ to post nicely formatted code to the forums. And yes I read the faq which doesn’t cover this specifically.

Thanks

Offline

#2 2007-01-05 17:46:10

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: [textile] Combining bq. @ and pre.

use bc..

Offline

#3 2007-01-05 17:48:05

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: [textile] Combining bq. @ and pre.

Oops, forgot to mention, anything with two dots after it essentially means to textile “do this until I tell you otherwise”.

So use bc. (although with all the returns in code this usually isn’t realistic). Therefore you’ll find yourself using bc.. . Which means that you’ll need to do p. (or whatever) when you want the block of code to stop.

Offline

#4 2007-01-05 17:49:16

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [textile] Combining bq. @ and pre.

Thanks.

<my first try>
    <here's something that's supposed to be indented />
    <here's something that's supposed to be indented />
</my first try>

ok, now for extra points, how do I put that in a block quote?

Last edited by mrdale (2007-01-05 17:52:59)

Offline

#5 2007-01-05 18:12:23

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [textile] Combining bq. @ and pre.

So wet, how do I put that in a blockquote?

Offline

#6 2007-01-05 22:15:25

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [textile] Combining bq. @ and pre.

On the forum: you can’t. Choose bc. or pre.

With Textpattern: use CSS.


Alex

Offline

#7 2007-01-06 19:02:54

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [textile] Combining bq. @ and pre.

Why would yout put code in a blockquote? Sounds like redundant quoting. ?

Offline

#8 2007-01-06 19:09:27

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [textile] Combining bq. @ and pre.

Mary >

Why would yout put code in a blockquote? Sounds like redundant quoting. ?

Visual contrast.
To set apart the code you’re presenting as a discreet unit. I thought that was how most people were presenting code, and I just wanted to be neat.

no matter, bc.. will work just fine, ovr’n out…

Last edited by mrdale (2007-01-06 19:13:53)

Offline

Board footer

Powered by FluxBB