JSPM

@types/markdown-it-link-attributes

3.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 62723
  • Score
    100M100P100Q160694F
  • License MIT

TypeScript definitions for markdown-it-link-attributes

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/markdown-it-link-attributes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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

    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.