[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nel] cpp to html in php :)
From: |
Yan Babilliot |
Subject: |
Re: [Nel] cpp to html in php :) |
Date: |
01 Mar 2002 17:22:49 +0100 |
le ven 01-03-2002 à 16:49, Vianney Lecroart a écrit :
> Do you know where I can find a little php function that take a string (cpp
> code) in param and that echoed the string with html tag to format the param
> (with color hightlight etc...) like they do in flipcode site for example:
> http://www.flipcode.com/cgi-bin/msg.cgi?showThread=Tip-UnusedParameters&foru
> m=totd&id=-1
Check http://www.beautifier.org/ , a flexible syntax hilighting system
written in PHP.
You can also use show_source(), highlight_string(), highlight_file(),
but they only support PHP syntax.
Yan.