I know how to insert a line of code inside a table cell. But I cannot do it when I want to insert a code block like this inside a table cell:
public class He
If you'd like it to stay in the same neat format and not in one line, you might need to consider another option besides a table in markdown or markdown altogether. Otherwise, you can just using the backtick (`) on the code block, like so:
#### Table Example
Column 1 | Column 2 | Column 3
--- | --- | ---
`public class HelloWorld {public static void main(String[] args) { System.out.println("Hello, World");}}` | random text | 1234563
Feel free to put this code in an online editor and see how it looks for yourself. Play around with it until it suits your needs: http://dillinger.io/