As you can see, using markdown to write tables work well. Using Latex for writing tables should work well I suppose. 
How does inserting graphics work?