@emdaer/plugin-details ·
An emdaer plugin that renders HTML5 details elements from which users can retrieve additional information
Usage
@emdaer/plugin-details is an emdaer plugin – see the emdaer monorepo for more information
Documentation
Example
Details summary
Here’s the content!
Usage in README
Use @emdaer/plugin-details
to create a collapsible details tag like so:
<!--emdaer-p
- '@emdaer/plugin-details'
- summary: Details summary
content: Here's the content!
-->
detailsPlugin
Renders a HTML5 details element as a disclosure widget.
Parameters
options
any options.summary
string? The summary of the detailsoptions.content
string? The content of the details
Examples
<!--emdaer-p
- '@emdaer/plugin-details'
- summary: Details summary
content: Here's the content!
-->
Returns Promise<string> The details element