Help:Contents

From WorkCDN

Jump to: navigation, search

Contents

General

For help on editing in the Wikimedia syntax, I recommend the Wikipedia Help pages -- they're fantastic.

Syntax Highlighting

The new Syntax Highlighting feature can be used three different ways.

First, to just highlight some code you have pasted into the wiki use a source tag around it like this:

 <source lang="java">
   this.is_a(Test);
 </source>

If you want to include a file from a website use the source tag again with a src="file" parameter:

 <source lang="csharp" src="file">
   http://www.mysite.com/path/to/my/source_file.cs
 </source>

Finally, you can also use a src="svn" parameter to access files stored in a subversion server like this:

 <source lang="csharp" src="svn">
   http://www.mysite.com/svn/my_project/trunk/my_file.cs
 </source>

Here are a list of all the lang parameters supported:

abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, caddcl, cadlisp, cfdg, cfm, c_mac, c, cpp, cpp-qt, csharp, css-gen.cfg, css, delphi, diff, div, dos, dot, d, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java5, java, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, perl, per, php-brief, php, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vbnet, vb, vhdl, visualfoxpro, winbatch, xml, xpp, z80

Drawings

To insert a drawing into your page use a draw tag like this:

 <draw>Name of Drawing</draw>

When you save your page, you will be able to click on the drawing to make changes to it.

Vertical Text

To insert vertical text into a page use a vt tag like this:

 <vt>This is vertical</vt>

This will look like this:

 

You can also add a size parameter like this:

 <vt size=40>Big</vt>

Which will look like:

 
Personal tools