1
twxs256
C++ code syntax hight lighting
  • 2004/10/22 14:18

  • twxs256

  • Just popping in

  • Posts: 1

  • Since: 2004/10/22


hello, I'm new in XOOPS (and english language )and I want to know if it is possible to "post-process" an article message to high light c++ code with a php script.
how i do that ?
overriding the \[code\]\[/code\] or adding a new tag, adding an existing module???

2
ackbarr
Re:C++ code syntax hight lighting

This would be possible with a core hack to the MyTextSanitizer class in the xoopsCodeDecode function. You can add new tags and their equivalent formatting there.

3
phppp
Re:C++ code syntax hight lighting
  • 2004/10/22 14:59

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


there is a hack extended-xoopscode having the highlight feature.
The download link is temporarily unavailable at this moment, perhaps will work in hours

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits