emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Src blocks laid out side-by-side


From: Berry, Charles
Subject: Re: Src blocks laid out side-by-side
Date: Sat, 8 Feb 2020 18:14:00 +0000


> On Feb 8, 2020, at 2:13 AM, Fraga, Eric <address@hidden> wrote:
> 
> On Friday,  7 Feb 2020 at 17:59, Steve Downey wrote:
>> I have a need to lay out source blocks side by side, in order to present
>> before and after changes to the source. If I could embed a block in a
>> table, that would do it.
> 
> Do you need this layout in org file itself or only in an exported
> document from the org file?
> 
> For the latter, you can use inline directives to achieve this.  E.g. if
> you were exporting to PDF via LaTeX, you could start/end minipages
> around each src block.
> 


Right. And the side-by-side issue for markdown is handled with inline html like 
this:

https://stackoverflow.com/questions/43232279/how-can-one-display-tables-side-by-side-in-github-markdown

The trick is that 'md snippets fall back to html. So @@html: <table> @@ etc are 
needed.

HTH,

Chuck 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]