-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I noticed that the directive only adds classes inherent to the container nodes. I might be misdiagnosing the problem here.
Locally I was able to fix this using list concatenation:
def run(self):
admonition = nodes.container(
"",
classes=self.options.get("class", []) + self.options.get("classes", []),
opened="open" in self.options,
type="details",
)**fix was formatted with black to avoid a long line
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels