all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Wrapping sections in html not possible
@ 2014-11-29  7:43 Henry Hirsch
  2014-11-29 16:57 ` Richard Lawrence
  0 siblings, 1 reply; 3+ messages in thread
From: Henry Hirsch @ 2014-11-29  7:43 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-30  9:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-29  7:43 Wrapping sections in html not possible Henry Hirsch
2014-11-29 16:57 ` Richard Lawrence
2014-11-30  9:12   ` Henry Hirsch

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.