From 0295dc83eea270e7d1bf657a9a8a50e4605da563 Mon Sep 17 00:00:00 2001
From: Orestis Malaspinas <orestis.malaspinas@hesge.ch>
Date: Wed, 20 Jun 2018 22:28:06 +0200
Subject: [PATCH] ajouts mineurs controle

---
 control.md | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/control.md b/control.md
index e830eba..38e5d03 100644
--- a/control.md
+++ b/control.md
@@ -17,9 +17,13 @@ sansfont: Sans Serif
 
 - La syntaxe est:
 
-    ```if condition {
+    ~~~{.lang-rust}
+    if condition {
         // exécute ce bloc
-    }```{.rust} 
+    }
+    ~~~
+
+- Exemple:
 
 <pre><code data-trim="hljs rust" class="lang-rust">
     fn main() {
@@ -31,4 +35,5 @@ sansfont: Sans Serif
     }
 </code></pre>  
 
+## Le `if ... else`{.rust} 
 
-- 
GitLab