@emdaer/plugin-link

An emdaer plugin that renders anchor elements

Stats

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

Readme

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

An emdaer plugin that renders anchor elements

Usage

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

Documentation

Example

emdaer repo

Usage in README

<!--emdaer-p
  - '@emdaer/plugin-link'
  - content: emdaer repo
    link: https://github.com/emdaer/emdaer
    title: EMDAER Repo
-->

linkPlugin

Render HTML anchor elements.

Parameters

  • options any
    • options.content string? The content of the link
    • options.link string? Contains a URL or a URL fragment that the hyperlink points to.
    • options.title string? Specifies a title to associate with the element.
    • options.id string? Document wide identifier.

Examples

<!--emdaer-p
  - '@emdaer/plugin-link'
  - content: emdaer repo
    link: https://github.com/emdaer/emdaer
    title: EMDAER Repo
-->

Returns Promise<string> The link as an anchor 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.