The preview works, but when I try to save the changes, I just see a completely empty page.
Here is the code, which I want to add as sub chapter of the VERSIONS section.
Jacmoe, do you know what's the problem?
It's just frustating.
Code: Select all
!!Tabbed source code view
The "versions" you can use to display source code snippets for different programming langues. It also supports specific syntax highlighting.
__This is a STUB for C# and VB:__
%beginsmall%Important 1: For usage __remove the underscores__!%endsmall%
%beginsmall%Important 2: It's normal when the preview looks a little bit strange. After page saving the tabbing works.%endsmall%
{CODE()}
{__VERSIONS(nav="y",default="C#")}
{__CODE(wrap="1", colors="C#")}
... C# code here ...
{__CODE}
---(VB.NET)--------------------------
{__CODE(wrap="1", colors="vbnet")}
... VB code here ...
{__CODE}
{__VERSIONS}
{CODE}
It will look like this:
{VERSIONS(nav="y",default="C#")}
{CODE(wrap="1", colors="C#")}
// C# code example
Console.WriteLn("Hello Ogre user")
{CODE}
---(VB.NET)--------------------------
{CODE(wrap="1", colors="vbnet")}
' VB code example
Console.WriteLn("Hello Ogre user")
{CODE}
{VERSIONS}
---