npm install --save @types/markdown-it-link-attributes
This package contains type definitions for markdown-it-link-attributes (https://github.com/crookedneighbor/markdown-it-link-attributes).
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;
- Last updated: Fri, 05 Apr 2024 21:36:06 GMT
- Dependencies: @types/markdown-it
These definitions were written by Katy Richard, and Piotr Błażejewicz.