[pmwiki-users] Display text (actually C++ sample code) in a predifined-size with scrollers

PKHG p.k.h.gragert at misc.utwente.nl
Mon Apr 18 06:34:33 CDT 2011


Look for using 'Geshi'! (search for it on the pmwiki site)

That is my preferred way of showing code!

Greets

   Peter

 

 

Van: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] Namens Olivier Planchon
Verzonden: maandag 18 april 2011 11:30
Aan: pmwiki-users at pmichaud.com
CC: Xavier HINAULT
Onderwerp: [pmwiki-users] Display text (actually C++ sample code) in a
predifined-size with scrollers

 

Hi al,

I'm totally new at pmWiki. (~a week of practice).
I want to display C++ code in my pmWiki pages.
I want to limit the size allowed to display the code, like in the (:input
textarea name [=value=] rows=n cols=n:) form, where [=value=] will be tens
or hundreds lines of C++ code.

textarea do not suit my needs for two reasons:
1/ any reader can kill the code he/she is reading
2/ the code itself interfers with pmwiki syntax and mos of the time the
whole thing hangs.

Any suggestion will be very welcome.

Regards, Olivier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110418/67c73646/attachment.html>


More information about the pmwiki-users mailing list