emacs-orgmode
[Top][All Lists]
Advanced

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

[O] code blocks inside enumerations


From: Alan Schmitt
Subject: [O] code blocks inside enumerations
Date: Fri, 31 Jan 2014 15:01:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

Hello,

I'm writing a series of exercises where I need to write some code in the
middle of an enumeration. Unfortunately the following does not work:

--8<---------------cut here---------------start------------->8---
1. This is how one write an empty list

#+BEGIN_SRC emacs-lisp
nil
#+END_SRC

2. And this is a second item
--8<---------------cut here---------------end--------------->8---

When I export this, the source block is interpreted as closing the
enumerate environment.

Is there a way to say that the source block should be nested in the
enclosing enumerating item?

Thanks,

Alan



reply via email to

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