From b69c1dd6abe120340561eaf35abee93b77a584a1 Mon Sep 17 00:00:00 2001 From: rloic Date: Tue, 26 May 2020 11:44:20 +0200 Subject: [PATCH] Fi python and kotlin code --- module2/exo4/journal.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/module2/exo4/journal.md b/module2/exo4/journal.md index d17d098..575dee5 100644 --- a/module2/exo4/journal.md +++ b/module2/exo4/journal.md @@ -48,15 +48,13 @@ println("Hello World") You can use multiple languages in the same document, as the kernel is choose by the language name, i.e. the code block : -```markdown - This block will call python interpreter -​ ```python - print('ok') - ``` - This block will call kotlin interpreter - ```kotlin - println("Ok") - ``` -``` +

+    ```python
+    print('Ok') # Use python kernel
+    ```
+    ```kotlin
+    println("Ok") // Use kotlin kernel
+    ```
+
You can find an usage example at [usage](example.md) and view the [result in the IDE](example.png) -- 2.18.1