fromthepage icon indicating copy to clipboard operation
fromthepage copied to clipboard

CodeMirror button for inserting markdown tables

Open saracarl opened this issue 3 years ago • 2 comments

This might be a model for inserting spreadsheets or tables into textual documents that aren't consistent (using markdown):

https://www.tablesgenerator.com/markdown_tables

saracarl avatar Aug 30 '21 16:08 saracarl

This came up again on a sales call.

saracarl avatar Oct 30 '23 13:10 saracarl

We'd like to add a new button, table to the CodeMirror flow which allows the easy insertion of markdown tables.

Currently buttons automatically insert XML tags around selected text, or insert an XML tag into the cursor position.

This new button would work similarly to the table insertion feature of Google Docs, prompting the user to select the number of rows and columns interactively. It would then insert a markdown table (including headers) at the cursor position.

benwbrum avatar Jun 25 '24 16:06 benwbrum