8

Is there any tool for linux which makes it easier to generate and edit tables for markdown?

tshepang
  • 64,472
  • 86
  • 223
  • 290
student
  • 17,875
  • 31
  • 103
  • 169

6 Answers6

5

If you are Emacs user there are two modes that should help you if you are working with markdown.

First mode is markdown-mode that helps you with all typical markdown tags. In this major mode there are keyboard shortcuts for inserting links, images, headers, etc and for "compiling" markdown to html using third party apps (like Markdown or python-markdown2).

Tool that can help you with tables in markdown mode is orgmode that provides minor mode orgtbl-mode. This mode provides bindings to work with tables in format:

| Header | Test |
|--------+------|
|      1 | ?    |
|      2 | ?    |

When you turn it on, write |some text and press Tab orgtbl-mode will add next |. Tab also allows you to change cells of table and aligning text and tables. There is also possibility to move colums/rows, killing them and more. Detailed instruction you can find in The built-in table editor chapter in org-mode documentation.

pbm
  • 24,747
  • 6
  • 36
  • 51
  • indeed, assuming you are using emacs' markdown mode, you can even put this in your emac init file `(add-hook 'markdown-mode-hook 'turn-on-orgtbl)` and get org's table editor capabilities mixed into markdown-mode's capabilities. Now, just add pandoc-mode! – malcook Sep 10 '14 at 14:52
3

The best GUI I have found is provided by the web application Markdown Tables.

Screenshot:

enter image description here

orschiro
  • 975
  • 2
  • 14
  • 25
1

TableFlip is a software designed specifically to be a Markdown table editor only. Currently, only available for Mac.

orschiro
  • 975
  • 2
  • 14
  • 25
0

If you want a solution similar to the Emacs one but prefer Sublime Text over Emacs, there is the SublimeTableEditor.

orschiro
  • 975
  • 2
  • 14
  • 25
0

I know of ReText, not used if not to try, but seems promising.
It should support tables through markdown extensions.

enzotib
  • 50,671
  • 14
  • 120
  • 105
0

You can do a lot with macros in vim.

Use qa to record a macro named "a", q to stop recording, @a to play it back and 100@a to play it back 100 times.

Alexander
  • 9,607
  • 3
  • 40
  • 59