From Media-Engineering

Source Code

Quoting text with a fixed size font is done via [@ quoted text @] . The text can include multiple line breaks.

Prepending (:source lang=c:) will format and highlight the quoted text accoding to the rules of the given language:

(:source lang=c :)[@

source
code

@]

A list of available languages is available here [1].

Highlighing example:

#include <stdio.h>

int main()
{
   printf("hello, world!!!\n");

   return(0);
}

Links

  1. qbnz.com/highlighter

Retrieved from http://schorsch.efi.fh-nuernberg.de/blender/index.php/How2/SourceCode

Page last modified on November 04, 2011, at 08:52 PM