Sébastien Gendre <s...@k-7.ch> writes: > With the ox-html option `:html-divs', the value is list of lists that > look like this: > > '((preamble "div" "preamble") > (content "div" "content") > (postamble "div" "postamble")) > > It is to long to be set as an OPTION. But a KEYWORD only accept string > if I understand correctly ? > > Do I pass the ox-html option with thi kind of values ?
Probably not. Elisp value is awkward inside Org document. What we can do is the following: 1. Allow the value of :html-divs to be a string (in addition to alist, as now). Like ":preamble div preamble :content div content :postamble div postamble" This will require changing all the code that handles :html-divs values. You will likely need to write a helper function transform string into alist (maybe using `org-export-read-attribute') 2. Allow KEYWORD -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>