I'm not sure about the images but it seems that to convert the tables to Markdown, you might want to take a look at this post, which seems to be what you're looking for :)
This is my own question, after all, but which was only about tables.