3

I'm talking about writing table[r]x[c] and pressing <tab> to generate a Markdown table with the required numbers of rows and columns (in GFM or whatever markdown flavor one prefers). I don't feel like making, say 100, snippets for tables of a size up to 10x10. Is there a way that can automate this table creation process while avoiding keystrokes at the same time?

Thank you for your input.

Huy Nguyen
  • 203
  • 2
  • 5
  • Do you find it clumpsy to just use multiline cursor and insert key for writing inside fileds? – alariva Jul 17 '15 at 03:01
  • 1
    Good point! I didn't think about that! However, I'm still curious if what I suggested could be done. Now I may sound like a total sublime-text beginner here. I am. So bare with me. Thanks for the comment, btw! – Huy Nguyen Jul 17 '15 at 03:25
  • Its ok, but then you could edit to your question by telling you would like an automated solution to avoid keystrokes. – alariva Jul 17 '15 at 03:27
  • 2
    Since you basically look for something like Emmet for Markdown, I'll start by finding out whether you can extend Emmet on Markdown files and create your own snippets. – idleberg Jul 17 '15 at 09:38
  • @idleberg I'll check out Emmet and see what I could do. Please put your comment as an answer as it addresses my yes/no question accordingly and I will accept it. – Huy Nguyen Jul 17 '15 at 17:23

1 Answers1

2

Since you basically look for something like Emmet for Markdown, I'll start by finding out whether you can extend Emmet on Markdown files and create your own snippets.

idleberg
  • 12,634
  • 7
  • 43
  • 70