Using a KEYWORD is a good idea. And as the format of the keyword value that you suggest is the same as #+ATTR_HTML, I can use `org-export-read-attribute'.
Like you say, having 1 #+HTML_DIV is more compact, but if not all divs are set with this Keyword, I can still merge with the default value. Example: If only postamble is set with #+HTML_DIV, the values of the preamble and content divs are taken from the org-html-div variable. But I wonder if a modification of how keyword are parsed is necessary. Ihor Radchenko write: > Sébastien Gendre writes: >> #+OPTION: html-div-content:(:tag "article" :class "content") > ... but this is clunky. Yes, but it similar to the `prop' option.
signature.asc
Description: PGP signature