Since there isn't a way to natively write with columns in Markdown, I naturally turned to HTML/CSS for a website I'm working on.
After reading this question, I implemented my columns, and threw some paragraphs in. However, I noticed upon regenerating my site locally that the paragraphs had been chunked into a single block of text (i.e. all formatting including newlines were removed).
Moreover, the <div>
blocks containing my columns had practically no height. The "paragraphs" ran straight through the footer. Now, there's some obvious hacks here like inlining style="height: 600px;"
and adding literal <br>
tags where I want newlines, but that's defeating the purpose of having a Markdown converter.
[comment]: <> (This is in a .md file.)
<div id="column1" style="float:left; margin:0; width:33%;">
small left column in Markdown format
</div>
<div id="column2" style="float:left; margin:0; width:67%;">
long right column in Markdown format that goes past footer...
</div>
Could someone help me understand the root of the problem?
My remarks:
Hope this solves your problem(s) and helps you understand (the structure of) Jekyll along the way.