[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] modular block exportation was patch [Feature Addition] exp
Re: [Orgmode] modular block exportation was patch [Feature Addition] exporting comments on org files to html
Fri, 07 Nov 2008 11:02:36 -0800
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
This has had me thinking about the exportation of blocks in general. I
think it makes sense to pull block exportation out into it's own
component both for simplicity and for ease of code-reading, hacking, and
with a set of blocks of forms like...
We could have an alist in which we look up the type of the block, and
call the appropriate function to handle exportation. Users could then
add their own custom block export functions to this list.
The optional exportation of these blocks could then be controlled by a
single #+option variable which takes a list of blocks not to export.
I'd be interested to hear anyone's thoughts on this. If it sounds like
a good idea I'd be happy to take a stab at implementation.
Cheers -- Eric