Here is a minimal example, in case someone wants to try

myfile.html:
<p>
 <b>Hello, World!</b>
</p>

orgincludehtml.org:
* Test
  #+INCLUDE: "./myfile.html" html

I am using Org-mode version 8.2.6 (from ELPA) and GNU Emacs 24.3.1.

Omid

Sent from my Emacs

On 06/01/2014 12:42 AM, Nick Dokos wrote:
> Omid <omidl...@gmail.com> writes:
> 
>> Hello,
>>
>> I am trying to include an HTML file (say myfile.html, which has only
>> the <body>) in an Org file so that upon export the contents of
>> myfile.html are /literally/ inserted in the appropriate section of the
>> exported HTML file. Following
>> http://orgmode.org/manual/Include-files.html, I used
>>
>> #+INCLUDE: "myfile.html" html
>>
> 
> Untested, but the doc seems to say that
> 
> --8<---------------cut here---------------start------------->8---
> #+INCLUDE: "myfile.html"  src html
> --8<---------------cut here---------------end--------------->8---
> 
> should work.
> 

Reply via email to