Anonymous user
Help:Adding a new programming example: Difference between revisions
Help:Adding a new programming example (view source)
Revision as of 23:58, 7 March 2008
, 16 years agoUpdated a few things
m (→Navigation: Fixed mentions of GCC to point to compiler, not collection) |
(Updated a few things) |
||
Line 1:
So you want to contribute code, eh?
==Every page is editable (almost)==
Almost every page in the wiki is editable.
To edit a wiki, you need only click that "edit" tab, make changes in the text field on the resulting page, and click Submit. Really, though we'd rather you clicked Preview first, and then clicked submit once you were satisfied with how it looks.
==Navigation==
To add your own programming example, you must [[:Category:Solutions by Programming Task|navigate]] to the programming task to which you wish to add a solution to.
In order to maintain the readability, searchability and browseability of Rosetta Code, we need you to follow certain formatting rules.
<nowiki>
=={{header|C}}==
{{libheader|SDL}}
int main ( void ) {
// Some code here
}</nowiki>
You don't have to use the C programming language, and your code example will probably be different.
Finally, note the importance of the extra space in front of the code.
==Formatting==
Formatting a wiki is easy once you've done it, but you have to get used to it, especially if you're used to working with HTML.
==Before you go==
|