Re: Re: Posting code to forums
> Still some problems are caused by < < (without spaces). Like in cout < < "Hello World";
>
> When put together without spaces line is cut from there to end. Can this be avoided somehow?
Hi there,
I get this problem too and it's areal pain when trying to post XML examples to forums/articles. Anyone have a workaround for this?
If you want syntax highlighting you can use the Geshi
library. It's not part of tw as standard so you'd have to integrate it yourself, but it's pretty straightforward. I managed to adapt the existing CODE plugin , but with mixed results. I found it generally worked OK, but there were some inconsistencies between previews and posted results for things like blogs and wiki pages, hence I've not published it.
rikrak