diff --git a/content/pages/test-typographie.md b/content/pages/test-typographie.md index 68d257d7921bb35ceb91c579f32bd92aab307604..e9effd5039574171855ce03e1d3ce8452983a6b2 100644 --- a/content/pages/test-typographie.md +++ b/content/pages/test-typographie.md @@ -82,10 +82,6 @@ Alert de type "success" Alert de type "danger" </alert> -<alert type="danger" bgcolor="yellow"> -Alert de type "danger" coloré ? -</alert> - ``` <details> <summary> Afficher le contenu masqué</summary> @@ -184,9 +180,12 @@ Start numbering with offset: ## Code -Inline `code` +Pour afficher le code sans qu'il soit interprété : +Sur une ligne, il suffit de le mettre entre deux "`" : `code` -Indented code +Ce "`" s'obtient en appuyant les touche "alt gr" + "7" ou "è" sur les claviers français. + +Pour un bloc de code, il faut commencer et finir par une ligne de 3 "`". ``` // Some comments @@ -195,13 +194,9 @@ line 2 of code line 3 of code ``` -Block code "fences" +Syntax highlighting (faire apparaitre les mots du langage en couleur) +Il suffit de faire suivre les 3 premiers "`" par l'extension correspondant au langage ```js -``` -Sample text here... -``` - -Syntax highlighting ```js var foo = function (bar) { @@ -237,8 +232,14 @@ Autoconverted link https://github.com/nodeca/pica (enable linkify to see) ## Images +`` +(ne pas oublier le point d'exclamation au debut) donne :  + +`<img src="https://octodex.github.com/images/minion.png" width="300" align ="right" > ` +donne : <img src="https://octodex.github.com/images/minion.png" width="300" align ="right" > +  Like links, Images also have a footnote style syntax @@ -317,8 +318,20 @@ see [how to change output](https://github.com/markdown-it/markdown-it-emoji#chan ### [Subscript](https://github.com/markdown-it/markdown-it-sub) / [Superscript](https://github.com/markdown-it/markdown-it-sup) +``` * 19^th^ * H\~2\~O +``` +* 19^th^ +* H\~2\~O +Ne fonctionne pas +``` +* 19<sup>th</sup> +* H<sub>2</sub>O +``` +* 19<sup>th</sup> +* H<sub>2</sub>O +Fonctionne beaucoup mieux ### [<ins>](https://github.com/markdown-it/markdown-it-ins)