Skip to content

Commit 1e6959a

Browse files
authored
Use python lexer for style examples
1 parent b9bda9f commit 1e6959a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lessons/beginners/hello-world/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ zkušenějšího programátora. <!-- XXX: where to direct people? -->
9696
>
9797
> V Pythonu je většinou jedno, kde napíšeš mezeru. Stejně jako náš příkaz
9898
> `print("Ahoj světe!")` by fungovalo třeba:
99-
> ```
99+
>
100+
> ```python
100101
> print ( "Ahoj světe!" )
101102
> ```
102103
>
@@ -105,7 +106,8 @@ zkušenějšího programátora. <!-- XXX: where to direct people? -->
105106
> ozavírací závorkou nepíše mezera.
106107
> Na rozdíl od češtiny ale mezeru nepiš ani mezi `print` a závorkou.
107108
> „Správně“ je tedy:
108-
> ```
109+
>
110+
> ```python
109111
> print("Ahoj světe!")
110112
> ```
111113
>

0 commit comments

Comments
 (0)