Plugin: details-summary-from-section

Wrap a section with a <details> /<summary> pair simply by adding a suffix to the end of its Heading line of Markdown.

The <summary> element will contain the corresponding H1-6 heading element, with the same id attribute (or lack thereof) that the Heading node would have led to without this plugin being involved.

Status

✽ Partly implemented ✽

Config

e.g.

{
    "suffix_markdown": " <!-- d -->",
    "suffix_markdown_preopened": " <!-- d:open -->"
}