Difference between revisions of "Wiki editing tips"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Wiki Editor)
Line 1: Line 1:
 
=Wiki Editor=
 
=Wiki Editor=
when you edit a page you will see a basic editing app, this has standard icons for Bold, Italics, Embed File etc. Also look at the options under Advanced, this includes bullets & numbering, NoWiki tags, icons for the text size and so on. Check the help section for guidance on how to edit / format a wiki.
+
when you edit a page you will see a basic editing app, this has standard icons for Bold, Italics, Embed File etc. Also look at the options under Advanced, this includes bullets & numbering, NoWiki tags, icons for the text size and so on.  
 +
 
 +
[[File:Wiki_Editor_1.PNG]]
 +
 
 +
Check the help section for guidance on how to edit / format a wiki.
  
 
=Syntax Highlighting=
 
=Syntax Highlighting=

Revision as of 22:49, 28 November 2016

Wiki Editor

when you edit a page you will see a basic editing app, this has standard icons for Bold, Italics, Embed File etc. Also look at the options under Advanced, this includes bullets & numbering, NoWiki tags, icons for the text size and so on.

Wiki Editor 1.PNG

Check the help section for guidance on how to edit / format a wiki.

Syntax Highlighting

This wiki will include many fragments of code. Syntax Highlighting will make the code easier to read and understand, most IDE's do this as standard and this wiki can also do it.

You can wrap your code in the following tags:


<syntaxhighlight lang="python"> .. </syntaxhighlight>


or if you want line numbers:


<syntaxhighlight lang="python" line> .. </syntaxhighlight>


The lang can be "csharp" , "vb" , or "vbnet". Many other languages are selectable, but students at TRC are doing the exam in C# therefore they should use the "csharp" option.