[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Wrapping sections in html not possible
From: |
Henry Hirsch |
Subject: |
[O] Wrapping sections in html not possible |
Date: |
Sat, 29 Nov 2014 08:43:26 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- [O] Wrapping sections in html not possible,
Henry Hirsch <=