« Test exemples » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
 
(9 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
= Tags =
<kode lang='bash'>
cd ../..
</kode>
<kode lang='bash' collapsed>
cd ../..
</kode>
<filebox fn='script.sh'>
cd ../..
</filebox>
<filebox fn='script.sh' collapsed>
cd ../..
</filebox>
== Inline ==
# <syntaxhighlight lang='cs' inline>var v = 10;</syntaxhighlight>
# <syntaxhighlight lang='cs' inline style='font-size: x-large;' id='ID'>var v = 10;</syntaxhighlight>
# <syntaxhighlight lang='cs' inline>
var v = 1;
var v = 2;\n
var v = 3;\\n
var v = 4;<br>
var v = 5;
</syntaxhighlight>
# end
== Empty lang ==
<kode lang=''>
// kode empty lang
var v = 10;
</kode>
<kode>
// kode no lang
var v = 10;
</kode>
<syntaxhighlight lang=''>
// syntaxhighlight empty lang
var v = 10;
</syntaxhighlight>
<syntaxhighlight>
// syntaxhighlight no lang
var v = 10;
</syntaxhighlight>
= Leading spaces =
<kode lang='cs'>
    var v = 10;
    var x = 1 < 2 & 3;
   
</kode>
= List and break =
= List and break =
== List with {{boxx|ol}} {{boxx|li}} tags ==
== List with ol li tags ==
<ol>
<ol>
<li>Step 1 inline code <syntaxhighlight lang='bash' inline>111 222 333</syntaxhighlight> end line<br>extra line</li>
<li>Step 1 inline code <syntaxhighlight lang='bash' inline>111 222 333</syntaxhighlight> end line<br>extra line</li>
Ligne 19 : Ligne 77 :
</ol>
</ol>


== List with {{boxx|#}} ==
== List with # ==
# Step 1 inline code <syntaxhighlight lang='bash' inline>111 222 333</syntaxhighlight> end line<br>extra line
# Step 1 inline code <syntaxhighlight lang='bash' inline>111 222 333</syntaxhighlight> end line<br>extra line
# Step 2 code block <syntaxhighlight lang="bash">
# Step 2 code block <syntaxhighlight lang="bash">
Ligne 25 : Ligne 83 :
222
222
</syntaxhighlight>extra line
</syntaxhighlight>extra line
# Step 3 kode <kode lang='bash'>
# Step 3 kode PROBLEM !!!
111
222
</kode>extra line


= Tableaux =
= Tableaux =

Dernière version du 21 avril 2023 à 23:54

Tags

Bash.svg
cd ../..
Bash.svg
cd ../..
script.sh
cd ../..
script.sh
cd ../..

Inline

  1. var v = 10;
  2. var v = 10;
  3. var v = 1; var v = 2;\n var v = 3;\\n var v = 4;<br> var v = 5;
  4. end

Empty lang

Bash.svg
// kode empty lang
var v = 10;
Bash.svg
// kode no lang
var v = 10;
// syntaxhighlight empty lang
var v = 10;
// syntaxhighlight no lang
var v = 10;

Leading spaces

Cs.svg

    var v = 10;
    var x = 1 < 2 & 3;

List and break

List with ol li tags

  1. Step 1 inline code 111 222 333 end line
    extra line
  2. Step 2 code block
    111
    222
    extra line
  3. Step 3 kode
    Bash.svg
    111
    222
    extra line
  4. Step 4 text
  5. Step 5 filebox
    xxx.sh
    111
    222
    extra line
  6. Step 6 End

List with #

  1. Step 1 inline code 111 222 333 end line
    extra line
  2. Step 2 code block
    111
    222
    extra line
  3. Step 3 kode PROBLEM !!!

Tableaux

Titre colonne 1 Titre colonne 2
colonne1 colonne2
colonne1 colonne2
colonne1 colonne2
colonne1 colonne2
Fonte mono Titre colonne 2
colonne1 colonne2
colonne1 colonne2
colonne1 colonne2
colonne1 colonne2

Listes

  • Example 1
  • Example 2
  • Example 3
  • Example 1
  • Example 2
  • Example 3

info / warn

INFO !!!
WARN !!!