Test-Source: Porovnání verzí

Z Milan Kerslager
Přejít na: navigace, hledání
(Test)
m (Stránka Test přemístěna na stránku Test-Source)
 
(Nejsou zobrazeny 4 mezilehlé verze od stejného uživatele.)
Řádka 1: Řádka 1:
Text text 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. Normal text.
  
 +
== BUG (with Firefox): There should be a box with colored source ==
 +
 +
=== With no enclose parameter ===
 
<source lang="C">
 
<source lang="C">
 
#include <stdio.h>
 
#include <stdio.h>
Řádka 6: Řádka 9:
 
int main()
 
int main()
 
{
 
{
   printf("Ahoj svete!\n");
+
   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>
 
</source>
  
Text text text
+
== And there should be normal pre-formatted source ==
  
 
  #include <stdio.h>
 
  #include <stdio.h>
Řádka 16: Řádka 39:
 
  int main()
 
  int main()
 
  {
 
  {
   printf("Ahoj svete!\n");
+
   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");
}