0.0.4 • Published 1 month ago

@types/markdown-it-external-links v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Installation

npm install --save @types/markdown-it-external-links

Summary

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

Details

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

index.d.ts

// Type definitions for markdown-it-link-attributes 0.0
// Project: https://github.com/rotorz/markdown-it-external-links
// Definitions by: Daniil Pronin <https://github.com/grawl>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { PluginWithOptions } from 'markdown-it';
import { RenderRule } from 'markdown-it/lib/renderer';

declare namespace markdownItExternalLinks {
    interface Config {
        externalClassName?: string | null;
        internalClassName?: string | null;
        internalDomains?: string[] | undefined;
        externalTarget?: string | undefined;
        internalTarget?: string | undefined;
        externalRel?: string | undefined;
        internalRel?: string | undefined;
    }
}
declare const markdownItExternalLinks: PluginWithOptions<markdownItExternalLinks.Config | markdownItExternalLinks.Config[]> & {
    readonly defaultRender: RenderRule;
};
export = markdownItExternalLinks;

Additional Details

  • Last updated: Thu, 11 Nov 2021 11:01:28 GMT
  • Dependencies: @types/markdown-it
  • Global values: none

Credits

These definitions were written by Daniil Pronin.

0.0.4

1 month ago

0.0.1

8 months ago

0.0.3

6 months ago

0.0.2

7 months ago

0.0.0

2 years ago