From d850ff7f0c5eb76530c2f4e2959c6769073ad824 Mon Sep 17 00:00:00 2001 From: Qumber Date: Wed, 25 Nov 2015 10:07:51 +0000 Subject: [PATCH] Updated documentation for adding table --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 622c76a..b432157 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ simplemde.value("This text will appear in the editor"); - horizontalRule - image - link + - table - **lineWrapping**: If set to `false`, disable line wrapping. Defaults to `true`. - **parsingConfig**: Adjust settings for parsing the Markdown during editing (not previewing). - **allowAtxHeaderWithoutSpace**: If set to `true`, will render headers without a space after the `#`. Defaults to `false`. @@ -114,6 +115,7 @@ var simplemde = new SimpleMDE({ horizontalRule: ["", "\n\n-----\n\n"], image: ["![](http://", ")"], link: ["[", "](http://)"], + table: ["", "\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"], }, lineWrapping: false, parsingConfig: { @@ -166,6 +168,7 @@ ordered-list | toggleOrderedList | Numbered List (Ctrl+Alt+L)
fa fa-list-ol link | drawLink | Create Link (Ctrl+K)
fa fa-link image | drawImage | Insert Image (Ctrl+Alt+I)
fa fa-picture-o horizontal-rule | drawHorizontalRule | Insert Horizontal Line
fa fa-minus +table | drawTable | Insert Table
fa fa-table preview | togglePreview | Toggle Preview (Ctrl+P)
fa fa-eye no-disable side-by-side | toggleSideBySide | Toggle Side by Side (F9)
fa fa-columns no-disable no-mobile fullscreen | toggleFullScreen | Toggle Fullscreen (F11)
fa fa-arrows-alt no-disable no-mobile