Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pre tags don't work properly in textpattern but do here
I’m having real trouble entering code snippets with textile… is there any work underway to fix this? see the example below, i’m attempting to add some pre formated code, I don’t want to reformat my code to make this work. Any solution?
I may try to fix the textile class myself, I’d love to textile 100% but it just doesn’t work for me :(
Having typed it all up i’ve found that it’s all ok in this forum. enter the code below in a textpattern article and you get different to what you get here… odd.
<pre><code><pre><code>
.someclass{
color:#ff0000;
}
#someid{
text-size:80%;
}
</code></pre></code></pre>
Offline
Re: Pre tags don't work properly in textpattern but do here
arevelation, It doesn’t work for me too.
I enclose python code with “pre” and “code”, and some code is converted by textile. I just post here
http://forum.textpattern.com/viewtopic.php?id=11621
a bug?
Offline
Re: Pre tags don't work properly in textpattern but do here
I was having this problem for quite some time, then I found this – seems to work.
(Edit: updated to display your code properly. :) -Mary)
<pre><code><notextile>
<pre>
<code>
…
</code>
</pre>
</notextile></code></pre>
Last edited by Mary (2005-11-02 12:18:52)
[url=http://www.adamfellowes.com/]Adam Fellowes – web design and development[/url]
Offline