diff --git a/pages/index.md b/pages/index.md index c7120e2..01364da 100644 --- a/pages/index.md +++ b/pages/index.md @@ -35,4 +35,12 @@ La numérotation n'est pas automatique. 2.2. second élément de deuxième niveau 3. troisième niveau 3.1. élément 3.1. -3.1.1. élément 3.1.1. \ No newline at end of file +3.1.1. élément 3.1.1. +### Tableaux +Pour l'instant la syntaxe n'est pas complètement implémentée, il n'est pas possible d'aligner le texte. +|Nom|Prénom|Âge| +|Sanchez|Sofia|8 ans| +|Sanchez|Paul|6 ans| +|Sanchez|Elena|10 ans| +|Sanchez|Sunga|44 ans| +|Sanchez|Nicolas|44 ans| \ No newline at end of file diff --git a/static/modules/md.js b/static/modules/md.js index 8542a27..015b210 100644 --- a/static/modules/md.js +++ b/static/modules/md.js @@ -15,6 +15,9 @@ function load(textarea, div) { firsttableline = null; } } + if (firsttableline != null) { + formatTable(firsttableline); + } } function save(textarea, div) {