rstacruz / flatdoc

Build sites fast from Markdown
http://ricostacruz.com/flatdoc
2.68k stars 262 forks source link

Aligning right col with multiple paragraphs in left #56

Open cjthomp opened 9 years ago

cjthomp commented 9 years ago

It appears to be impossible to keep the left col from leaving huge gaps between elements.

If using multiple smallish paragraphs, there will be a large gap either before or after as you attempt to line up the codeblock. I tried using a list, parses properly as a single <ul>, but the code on the right won't align either: it either leaves a huge gap between the description paragraph and the <ul> or it starts the code block after the last line of the list, leaving a huge gap at the top.

Olli-palkkaus commented 7 years ago

This is a big issue also for us. Basically, may be the deciding factor whether we can use Flatdoc or not. We often have multi-paragraph explanations (especially bullet points) and would like to align a code block to that whole text block.

Other than this, we love the tool - especially its simplicity in approach. It would be great to our case-by-case documentation needs. But this mising feature may be a dealbreaker.

We would be willing to contribute on the issue. But do you have any plans on implementing this or did you have any ideas on how to do it? I understand that it may be conceptually difficult, in terms of how to structure it in MD. But did you have an idea how to do it?