[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: HTML export: How to export body only, as HTML "fragment"?
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: HTML export: How to export body only, as HTML "fragment"? |
Date: |
Wed, 30 Sep 2009 23:06:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Bill Powell <address@hidden> writes:
> - get HTML export to just convert the text to HTML,
> without wrapping a template and <head> and <html> and
> <body> tags around it. I can't find an option to do this,
> but it seems like if there isn't one, it should be fairly
> easy to implement. Pyblosxom needs HTML fragments so it can
> wrap my custom templates with dynamic title lists, etc.
There are BODY-ONLY arguments for both org-export-as-html and
org-export-region-as-html.
Here's an example provided in the docstring of
org-export-region-as-html:
,----
| (setq html (org-export-region-as-html beg end t 'string))
`----
Best,
Matt