Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[TEXTILE] List with bc.
Hi at all.
I need to write a list with bc. nested such as:
1. nnnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnn
2. nnnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnn
3. nnnnnnnnnnnnnnnnnnnnn
CODE nxnxnxnxnxn
nxnxnxnxn
/CODE
4. nnnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnn
but if I use bc. it require a white line before and after and list restart from 1 after.
There is some solution?
Offline
Re: [TEXTILE] List with bc.
Well, it’s perhaps not quite a “solution” as such, but you can do continuation lists with Textile like this:
# Number one
# Number two
# Number three
bc. Code here
#4 Number four
Remove the white space at the start of the bc.
: had to put it in to stop the forum from Textiling it!
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: [TEXTILE] List with bc.
Other option is to use inline code tags:
#. Some plaintext, @some
code@ and some more regular text.
# Second item.
The above generates:
<ol>
<li>Some plaintext, <code>some
code</code> and some more regular text.</li>
<li>Second item.</li>
</ol>
Then style the code element as you want it.
Offline
Re: [TEXTILE] List with bc.
Thankyou Gocom in line code is ok, but i need a block code, and nc. use a pre tag.
Thankyou Stef I don’t remember #numer code….
sorry my english it’s so bad. what you mean with
had to put it in to stop the forum from Textiling it!
?
Offline
Re: [TEXTILE] List with bc.
MarcoK wrote #280210:
Thankyou Gocom in line code is ok, but i need a block code, and nc. use a pre tag.
Thankyou Stef I don’t remember #numer code….sorry my english it’s so bad. what you mean with
?
He meant that he put whiste in front of the bc tag so that Textile did not render the tag, i.e. to stop it from doing what it would normality do
…. texted postive
Offline
Re: [TEXTILE] List with bc.
Ahhhhhh…. it’s ok. I understand!!! Thankyou
Offline
Pages: 1