Aller au contenu

Modèle:Code

De Banane Atomic

Ajout d'une image à gauche du code et coloration syntaxique avec syntaxhighlight

Utilisation

{{code | lang=bash | code=cd $home}}
YES 


Exemple

cd $home
YES 


Code

{| class="kode"
|[[File:{{{lang}}}.svg|40px|link=]]
|
{{#tag: syntaxhighlight |{{{code}}}| lang={{{lang}}} | class="{{{class|}}}"}}
|}
YES