emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Is it possible to have a code fragment in a bulleted list?


From: Stephen J. Barr
Subject: [O] Is it possible to have a code fragment in a bulleted list?
Date: Sun, 8 Jan 2012 20:07:41 -0500

Hello fellow org-mode users,

Quick question. Is it possible to have a code fragment in a bulleted
list? For example, I would like to do

- This is interesting
  - Level 2 for loop
#+begin_src R
for (i in 1:10) {
    ...
}
#+end_src
  - This should also be on level 2

When I render this as HTML, the sentences "Level 2 for loop" and "This
should also be on level 2" to be at the same depth, with the source
code block in the middle. How do I do this?

Thanks and sorry for the relatively simple question.

Stephen;



reply via email to

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