I know I can have a headline render to a custom container during export to html with a property eg HTML_CONTAINER: details

But what If I want an attribute to set the state? Specifically I want the container to be `<details open>` in some situation and just plain `<details>` in some others.

What are my options?

Thanks a lot,
George