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

2.0.10 • Public • Published

Installation

npm install --save @types/markdown-it-container

Summary

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

Details

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

import MarkdownIt = require("markdown-it");

declare namespace MarkdownItContainer {
    interface ContainerOpts {
        marker?: string | undefined;
        validate?(params: string): boolean;
        render?: MarkdownIt.Renderer.RenderRule | undefined;
    }
}

declare function MarkdownItContainer(md: MarkdownIt, name: string, opts: MarkdownItContainer.ContainerOpts): void;

export = MarkdownItContainer;

Additional Details

Credits

These definitions were written by Vyacheslav Demot.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/markdown-it-container

Weekly Downloads

6,850

Version

2.0.10

License

MIT

Unpacked Size

3.57 kB

Total Files

5

Last publish

Collaborators

  • types