all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Henry Hirsch <henry@w3-net.de>
To: emacs-orgmode@gnu.org
Subject: Wrapping sections in html not possible
Date: Sat, 29 Nov 2014 08:43:26 +0100	[thread overview]
Message-ID: <20141129074326.GM21741@w3-net.de> (raw)

Hello,

When the following code snippet is exported to html the 
jumbotron section is not wrapped in the jumbotron class but 
the jumbotron div is in another section and the closing div
is in the content of my jumbotron.

* Another Section
#+BEGIN_HTML
<div class="jumbotron">
#+END_HTML
* content of my jumbotron
This text is all about my jumbotron
#+BEGIN_HTML
</div>
#+END_HTML

* Another Section

So how can org mode support wrapping sections in html?
Especially for more complex cases where a section or
multiple sections will be wrapped in multiple divs.

I am using macros extensively and a workaround so far
is to not use org-modes sections but use a macro like
#+MACRO: heading #+HTML: <h2>$1</h2>
to create headlines. Which works but is unsatisfactory
for obvious reasons.

I am very interested in your thoughts. 

Regards
Henry

             reply	other threads:[~2014-11-29  7:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-29  7:43 Henry Hirsch [this message]
2014-11-29 16:57 ` Wrapping sections in html not possible Richard Lawrence
2014-11-30  9:12   ` Henry Hirsch

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141129074326.GM21741@w3-net.de \
    --to=henry@w3-net.de \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.