emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [ANN] Editable HTML export of Org-mode files


From: Eric Schulte
Subject: Re: [O] [ANN] Editable HTML export of Org-mode files
Date: Tue, 30 Oct 2012 10:56:47 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Nitin Agarwal <address@hidden> writes:

> The edit button appears only for the content of the subheadings or
> headings of the document.

Look at the call to `org-export-define-derived-backend' in line 107 of
org-ehtml-client [1].  Notice that it defines editable versions of the
existing html export functions for each of the types listed (paragraph,
plain-list, etc...).  These types correspond to org-mode elements as
defined by org-elements.el.

To make the content of headlines editable, you should define a new
export function for headlines either using the `def-ehtml-wrap' function
or possibly using a new export function.

If you do share new code please do so either as diffs against existing
code, or as pull requests on github.  It is too difficult to find the
relevant changes in source code pasted directly into email messages.

Cheers,

Footnotes: 
[1]  
https://github.com/eschulte/org-ehtml/blob/master/src/org-ehtml-client.el#L107

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

[Prev in Thread] Current Thread [Next in Thread]