[Top][All Lists]

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

add #+ATTR_SOMETHING to headline?

From: Matt Price
Subject: add #+ATTR_SOMETHING to headline?
Date: Mon, 5 Jul 2021 23:11:45 -0400

Does anyone know if attributes get attached to headline elements during the export process? I am writing a derived backend in which I would like to have a line like

(let (add-toggle (org-export-read-attribute :attr_canvas_html headline :toggle))

But as var as i can tell, the call to org-rexport-read-attribute always evaluates to nil in a file like this:

#+ATTR_CANVAS_HTML: :toggle t
* My TOggle Headline

Am I missing something obvious, or is htis not possible? I notice that none of the org-xxx-headline functions in ox-xxx.el seem to check for attributes, so maybe this is by design?



reply via email to

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