@emdaer/plugin-link

An emdaer plugin that renders anchor elements

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@emdaer/plugin-link
14363.2.313 years ago6 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.