Test-Source: Porovnání verzí

Z Milan Kerslager
Přejít na: navigace, hledání
(Obsah vpravo)
m (Stránka Test přemístěna na stránku Test-Source)
 
(Není zobrazeno 5 mezilehlých verzí od stejného uživatele.)
Řádka 1: Řádka 1:
{| align="right"
+
Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text.
| __TOC__
 
|}
 
  
=Nadpis=
+
== BUG (with Firefox): There should be a box with colored source ==
  
text text
+
=== With no enclose parameter ===
 +
<source lang="C">
 +
#include <stdio.h>
 +
 
 +
int main()
 +
{
 +
  printf("Hello world!\n");
 +
}
 +
</source>
 +
 
 +
=== Trying with enclose=div ===
 +
<source lang="C" enclose=div>
 +
#include <stdio.h>
 +
 
 +
int main()
 +
{
 +
  printf("Hello world!\n");
 +
}
 +
</source>
 +
 
 +
=== Trying with enclose=pre ===
 +
<source lang="C" enclose=pre>
 +
#include <stdio.h>
 +
 
 +
int main()
 +
{
 +
  printf("Hello world!\n");
 +
}
 +
</source>
 +
 
 +
== And there should be normal pre-formatted source ==
 +
 
 +
#include <stdio.h>
 +
 +
int main()
 +
{
 +
  printf("Hello world!\n");
 +
}

Aktuální verze z 13. 1. 2010, 05:23

Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text.

BUG (with Firefox): There should be a box with colored source

With no enclose parameter

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}

Trying with enclose=div

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}

Trying with enclose=pre

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}

And there should be normal pre-formatted source

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}