25

I am working on a side-by-side text. I have to prepare this with two column layout. For example one column contains English text and other column/right column contains translation of preceding (English) text. Markdown does not support table marking but Github Flavored Markdown supports. I have made a few attempts, but unfortunately could not solve. It looks bad. Even I put two columns, I should make table border unseen.

esquare
  • 3,597
  • 10
  • 33
  • 37
  • 5
    This appears to be a duplicate of http://stackoverflow.com/q/30514408/866026 and possibly http://stackoverflow.com/q/30811491/866026 – Waylan Jul 24 '15 at 13:33
  • 2
    This may be relevant as well: http://stackoverflow.com/q/28201503/866026 – Waylan Jul 24 '15 at 13:36
  • 1
    Possible duplicate of [Two columns code in Markdown](https://stackoverflow.com/questions/30514408/two-columns-code-in-markdown) – dee-see Aug 27 '17 at 14:36

3 Answers3

15

In a .md file html code can be put. A very easy mode to get this effect is doing a table without borders,

<table border="0">
 <tr>
    <td><b style="font-size:30px">Title</b></td>
    <td><b style="font-size:30px">Title 2</b></td>
 </tr>
 <tr>
    <td>Lorem ipsum ...</td>
    <td>Lorem ipsum ...</td>
 </tr>
</table>

enter image description here

Radost
  • 666
  • 6
  • 10
14

No pure markdown way to do it.

Columns don't exist in markdowns.

Ani Menon
  • 25,420
  • 16
  • 92
  • 119
0

As Rados mentioned before, you can use html to make tables, but if you want to use markdown inside html code chunks add this line before <table>

<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>

Seems to work for all cells in my jupyter notebook

xenakas
  • 31
  • 1