From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" via "General discussions about Org-mode." Subject: Re: Src blocks laid out side-by-side Date: Sat, 8 Feb 2020 18:14:00 +0000 Message-ID: <3438DCB3-E658-439D-83B2-4758C846C8AA@ucsd.edu> References: <87v9ohl73m.fsf@ucl.ac.uk> Reply-To: "Berry, Charles" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39241) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0UcZ-0008I1-8x for emacs-orgmode@gnu.org; Sat, 08 Feb 2020 13:14:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0UcY-0004e3-2X for emacs-orgmode@gnu.org; Sat, 08 Feb 2020 13:14:23 -0500 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:59294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j0UcX-0004cH-Ey for emacs-orgmode@gnu.org; Sat, 08 Feb 2020 13:14:21 -0500 In-Reply-To: <87v9ohl73m.fsf@ucl.ac.uk> Content-Language: en-US Content-ID: <0E2DC9C9E11E4A419ABE44265E958FD4@AD.UCSD.EDU> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: org mode , Steve Downey > On Feb 8, 2020, at 2:13 AM, Fraga, Eric wrote: >=20 > 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. >=20 > Do you need this layout in org file itself or only in an exported > document from the org file? >=20 > 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. >=20 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-sid= e-by-side-in-github-markdown The trick is that 'md snippets fall back to html. So @@html: @@ etc= are needed. HTH, Chuck=20