Search code examples
intellij-ideamarkdownjetbrains-ide

How to insert a markdown table in IntelliJ IDEA?


I'm using IDEA 2019.3 Ultimate edition which ships with markdown support. I'm trying to insert a table like this:

| Key   | Func   |
|-------|--------|
| cmd+n | search |

but I found tab not working and IDEA doesn't help to indent the table so I have to manually add lots of -. Is there an efficient way to insert a table in IDEA?


Solution

  • Since 2022.1 you can use Code > Generate... > Table or Insert... > Table (cmd-N) to insert tables.

    You can checkout official IDEA documentation for table support in Markdown plugin.