Hello, I was wondering if there is an easy to export an org file to HTML that is just the body of the HTML document. Or to put it differently, just the HTML formatting that is actually displayed on the page and no extra metadata (no DOCTYPE, html, head tags etc). I often need this for inserting HTML into existing documents or for text boxes that support HTML formatting. Any help is appreciated, thank you. -- Thomas Ingram
Thomas Ingram writes:
> Hello,
>
> I was wondering if there is an easy to export an org file to HTML that
> is just the body of the HTML document. Or to put it differently, just
> the HTML formatting that is actually displayed on the page and no extra
> metadata (no DOCTYPE, html, head tags etc).
>
> I often need this for inserting HTML into existing documents or for text
> boxes that support HTML formatting.
Have you tried selecting "Body only" when exporting to an HTML buffer?
With the default bindings, that'd be 'C-c C-e C-b h H'.
Kyle Meyer <kyle@kyleam.com> writes:
> Have you tried selecting "Body only" when exporting to an HTML buffer?
> With the default bindings, that'd be 'C-c C-e C-b h H'.
This is close to what I want, but I lose the title etc.. Ideally I'd
like to keep all information usually printed in the HTML body.
Thanks!