Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-19 19:01:29

ChristopherGibson
New Member
Registered: 2006-12-19
Posts: 1

[textile] Line formatting

If I have something in textile where I want a number of spaces before certain lines, is there a textile code for that?

For example if I want:

In the uncertain hour before the morning
…..Near the ending of interminable night
…..At the recurrent end of the unending
After the dark dove with the flickering tongue
…..Had passed below the horizon of his homing
…..While the dead leaves still rattled on like tin

but with spacing instead of periods, what’s the best way to accomplish that in Textile? Do I have to code the nbsp’s?

Offline

#2 2006-12-19 19:34:24

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

Re: [textile] Line formatting

could you use pre. ?

  it 
    should
          let
              you
do
   something
           like
              that

Shoving is the answer – pusher robot

Offline

#3 2006-12-19 19:38:02

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: [textile] Line formatting

I don’t know if you can put in spaces, but how about using spans?

So my first thought on this would be the following:

p. In the uncertain hour before the morning
%{margin-left: 10px}Near the ending of interminable night%
%{margin-left: 10px}At the recurrent end of the unending%
After the dark dove with the flickering tongue
%{margin-left: 10px}Had passed below the horizon of his homing%
%{margin-left: 10px}While the dead leaves still rattled on like tin%

Offline

#4 2006-12-19 22:25:10

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

Re: [textile] Line formatting

Pre is what you want. :)

This:

pre. In the uncertain hour before the morning
	Near the ending of interminable night
	At the recurrent end of the unending
After the dark dove with the flickering tongue
	Had passed below the horizon of his homing
	While the dead leaves still rattled on like tin

outputs this:

In the uncertain hour before the morning
	Near the ending of interminable night
	At the recurrent end of the unending
After the dark dove with the flickering tongue
	Had passed below the horizon of his homing
	While the dead leaves still rattled on like tin

Offline

Board footer

Powered by FluxBB