emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bob Newell <bobnewell@bobnewell.net>
To: emacs-orgmode@gnu.org
Subject: org-publish an org-mode outline
Date: Sat, 12 Aug 2017 18:57:09 -1000	[thread overview]
Message-ID: <87378wxdy2.fsf@bobnewell.net> (raw)

I may be overlooking something simple here, but I'm having a problem
with org-publish. When I try to publish a page containing something like
this (minimal example):

#+BEGIN_EXAMPLE
* top
** level 2
*** level 3
#+END_EXAMPLE

what happens is that 'top' etc. get interpreted as section markers (the
'example' seems to be overlooked).

To get it to be an actual code example I have to indent the * to make
the line a non-headline, " * top" instead of "* top" for instance.

What kind of dumb mistake am I making? I've been using org-publish for a
while but all my code samples so far haven't included org-mode headlines.

Mahalo in advance.

-- 
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *

             reply	other threads:[~2017-08-13  4:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-13  4:57 Bob Newell [this message]
2017-08-13 18:32 ` org-publish an org-mode outline Bob Newell

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=87378wxdy2.fsf@bobnewell.net \
    --to=bobnewell@bobnewell.net \
    --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).