@emdaer/plugin-details

3.2.31 • Public • Published

@emdaer/plugin-details · Travis Documented with emdaer Maintained with lerna

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 details
    • options.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

Readme

Keywords

Package Sidebar

Install

npm i @emdaer/plugin-details

Weekly Downloads

139

Version

3.2.31

License

MIT

Unpacked Size

31.8 kB

Total Files

8

Last publish

Collaborators

  • beautyhammer
  • emdaerbot
  • flipactual
  • infiniteluke