diff --git a/syntax/code.md b/syntax/code.md index 5659c2a..7feec43 100644 --- a/syntax/code.md +++ b/syntax/code.md @@ -1,39 +1,35 @@ -# Les blocs de code +# Code blocks -Les blocs de codes pré-formatés sont utlisés pour écrire sur la programmation ou surligner un code source. Plus que de simple pragraphe, les lignes de code d'un bloc de code sont litterallement interprétées. +Pre-formatted code blocks are used to write on programming or highlight source code. More than just a simple paragraph, the lines of code of a block of code are literally interpreted. -Voici un exemple : +Here is an example : ``` -Ceci est un bloc de code +This is a block of code ``` -Afin de créer un bloc de code en Markdown, il suffit d'identer chaque ligne du bloc avec au moins 4 espaces ou une tabulation. - -Par exemple : +In order to create a block of Markdown code, simply iden- tify each row of the block with at least 4 spaces or a tab.Par exemple : ``` -Ceci est un paragraphe normal: +This is a normal paragraph: - Ceci est un bloc de code. + this is a code block. ``` -Vous pouvez également créer un bloc de code separé avec: +You can also create separate block code with: ``` -### Bloc de code en ligne - -Les blocs de code en ligne peuvent être écrit en utilisant: ` +### Code block inline -Par exemple: +Online code blocks can be written using: ` - Ceci est `un bloc de code en ligne` +For example: -### La syntaxe de mise en avant + This is an `inline code block` -Vous pouvez definir le langage utlisé pour mettre en évidence la syntaxe en ajoutant un nom sur un mot clé ouvrant. Exemple : +### The syntax of highlighting - ```js +You can define the language used to highlight the syntax by adding a name to an opening keyword. Example: ```js var a = {}; ``` \ No newline at end of file diff --git a/syntax/images.md b/syntax/images.md index 58bf59d..a892100 100644 --- a/syntax/images.md +++ b/syntax/images.md @@ -8,11 +8,11 @@ ![Alternative text][id] [id]: url/to/image "Optional title" ``` -Comme vous avez dû le remarquer, les images en Markdown sont très semblables aux liens. -La différence est la suivante : -* les crochets doivent être précédés par un point d'exclamation ; -* ils peuvent contenir un texte alternatif, qui s'affiche quand l'image ne peut être chargée. +As you may have noticed, Markdown images are very similar to links. +The difference is: +* the square brackets must be preceded by an exclamation point; +* They can contain an alternative text, which is displayed when the image can not be loaded. --- Here's a quiz about markdown images.