Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-20 16:04:55

avetma
Member
Registered: 2006-03-11
Posts: 28

Code tags

Hello,

is there any plugin that allows to put some HTML/PHP/any other code into article with css styling like borders and courier font or so?
I need it because I use textpattern on my site for programmers, and there is so much trouble putting article with some code in it…

Thank you,
Ante

Offline

#2 2007-02-20 16:08:37

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,532
Website GitHub Twitter

Re: Code tags

First you can disable textile for entire article (you find that in left column) or disable textile just for a paragraph, sebtence by enclosing it with ==

then you can use for exemple <span class=“mycode”>The code here</span>

Offline

#3 2007-02-20 16:18:28

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

Re: Code tags

I thought that there was a plugin somewhere which does what you need.


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

Offline

#4 2007-02-20 16:41:41

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

Re: Code tags

Offline

Board footer

Powered by FluxBB