Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: ollydbg on January 03, 2009, 10:35:33 am

Title: I suggest that wiki could add some "code tags"
Post by: ollydbg on January 03, 2009, 10:35:33 am
I want to add some code to the wiki page, but I found that it is not support the code style like:
Quote
<source lang="cpp">
int main()
{
   readdir_sequence dir( "/", readdir_sequence::directories );

   std::copy( dir.begin(), dir.end()
            , std::ostream_iterator< std::string >( std::cout, "\n" ));
}
</source>


So, it is more convenient to add this functionality support like wikipedia does. Thanks.
Title: Re: I suggest that wiki could add some "code tags"
Post by: jens on January 03, 2009, 12:00:57 pm
You are running in the wrong door. It is a sub-forum to discuss Development of code::blocks. Try other sub-forums instead. :D

I think writing a wiki-article has nothing to do with developping Code::Blocks itself.

I move the topic to General.[/s]

Sorry, didn't read the forums headline correctly, moved back.
Title: Re: I suggest that wiki could add some "code tags"
Post by: ollydbg on January 09, 2009, 08:22:08 am
I'm not sure how to do that, but some guru can do this by just adding a patch to the "wiki media server" :D.
Thanks.