Hi,
firt I want to thank you for your work, geshi module will be very usefull for me.
I have a little question about usage of the module.
Do we have to create a dedicated source code node to enable Geshi filter ?
Or can I create a story page and add some piece of code highlighted by geshi ?
If it is possible, I did'nt really understand how to do that. Here is a little test :
<pre language="python">
#python
import os
for i in range(10):
print i
and the output is not very usable.
Thanks for your replies.
Regards,
Bhaal22
Comments
Comment #1
soxofaan commentedYou don't need a GeSHi source code node, it's deprecated actually.
Best is to use GesHi filter as an input filter (like there is the HTML filter, line break filter, URL filter).
On the GeSHi settings page you have a small help text at the top and a link with more help, pointing to these steps to set up the GeSHi filter in your input formats:
http://drupal.org/files/issues/GeSHihelp.png
hope this helps
Comment #2
bhaal22 commentedThanks soxofaan.
Indeed I didn't add the Geshi filter in my input format.
Thank you very much.
Regards,
Bhaal22.