@types/markdown-it-link-attributes
TypeScript icon, indicating that this package has built-in type declarations

3.0.5 • Public • Published

Installation

npm install --save @types/markdown-it-link-attributes

Summary

This package contains type definitions for markdown-it-link-attributes (https://github.com/crookedneighbor/markdown-it-link-attributes).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/markdown-it-link-attributes.

import { PluginWithOptions, Renderer } from "markdown-it";

declare namespace markdownItLinkAttributes {
    interface Config {
        attrs: Record<string, string>;
    }
}

/**
 * Link attributes plugin for markdown-it markdown parser
 */
declare const markdownItLinkAttributes:
    & PluginWithOptions<
        markdownItLinkAttributes.Config | markdownItLinkAttributes.Config[]
    >
    & {
        readonly defaultRender: Renderer.RenderRule;
    };

export = markdownItLinkAttributes;

Additional Details

Credits

These definitions were written by Katy Richard, and Piotr Błażejewicz.

/@types/markdown-it-link-attributes/

    Package Sidebar

    Install

    npm i @types/markdown-it-link-attributes

    Weekly Downloads

    20,834

    Version

    3.0.5

    License

    MIT

    Unpacked Size

    4.03 kB

    Total Files

    5

    Last publish

    Collaborators

    • types