UNPKG

@types/markdown-it-link-attributes

Version:
40 lines (31 loc) 1.31 kB
# 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. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/markdown-it-link-attributes/index.d.ts) ````ts 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 * Last updated: Fri, 05 Apr 2024 21:36:06 GMT * Dependencies: [@types/markdown-it](https://npmjs.com/package/@types/markdown-it) # Credits These definitions were written by [Katy Richard](https://github.com/cowpewter), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).