@emdaer/plugin-list

An emdaer plugin that renders HTML list element.

Stats

StarsIssuesVersionUpdatedCreatedSize
@emdaer/plugin-list
14303.2.31a year ago4 years agoMinified + gzip package size for @emdaer/plugin-list in KB

Readme

@emdaer/plugin-list ยท Travis Documented with emdaer Maintained with lerna

An emdaer plugin that renders HTML list element.

Usage

@emdaer/plugin-list is an emdaer plugin โ€“ see the emdaer monorepo for more information

Documentation

Example

  1. Item one
  2. Item two
  3. Item three

Usage in README

<!--emdaer-p
  - '@emdaer/plugin-list'
  - type: ol
    items:
      - Item one
      - Item two
      - Item three
-->

An emdaer plugin that renders HTML list element.

listPlugin

Render HTML list elements.

Parameters

  • options any
    • options.type ("ol" | "ul")? The type of list; ol (ordered) and ul (unordered).
    • options.items Array<string>? The list items; each will be rendered as an li element.

Examples

<!--emdaer-p
  - '@emdaer/plugin-list'
  - type: ol
    items:
      - Item one
      - Item two
      - Item three
-->

Returns Promise<string> The list HTML element.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.