Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Two column layout with markdown

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.

like image 521
esquare Avatar asked Jul 24 '15 06:07

esquare


People also ask

Can you create columns in markdown?

You can't, at least not with pure Markdown as it doesn't have any concept of columns. As explained in the rules: The idea for Markdown is to make it easy to read, write, and edit prose. HTML is a publishing format; Markdown is a writing format.


2 Answers

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

like image 121
Radost Avatar answered Oct 20 '22 17:10

Radost


No pure markdown way to do it.

Columns don't exist in markdowns.

like image 17
Ani Menon Avatar answered Oct 20 '22 19:10

Ani Menon