From: "Stephen J. Barr" <stephenjbarr@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Is it possible to have a code fragment in a bulleted list?
Date: Sun, 8 Jan 2012 20:07:41 -0500 [thread overview]
Message-ID: <CAAetZUQXko+6LHwMWD605KD-YVMXiTuJHhZRwcZ=3ammH+60uQ@mail.gmail.com> (raw)
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;
next reply other threads:[~2012-01-09 1:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-09 1:07 Stephen J. Barr [this message]
2012-01-09 7:13 ` Is it possible to have a code fragment in a bulleted list? Nicolas Goaziou
2012-01-10 2:53 ` Stephen J. Barr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAetZUQXko+6LHwMWD605KD-YVMXiTuJHhZRwcZ=3ammH+60uQ@mail.gmail.com' \
--to=stephenjbarr@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).