@types/markdown-it-container
Version:
TypeScript definitions for markdown-it-container
34 lines (25 loc) • 1.18 kB
Markdown
# 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.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/markdown-it-container/index.d.ts)
````ts
import MarkdownIt = require("markdown-it");
import Renderer = require("markdown-it/lib/renderer");
declare namespace MarkdownItContainer {
interface ContainerOpts {
marker?: string | undefined;
validate?(params: string): boolean;
render?: Renderer.RenderRule | undefined;
}
}
declare function MarkdownItContainer(md: MarkdownIt, name: string, opts: MarkdownItContainer.ContainerOpts): void;
export = MarkdownItContainer;
````
### Additional Details
* Last updated: Sat, 13 Dec 2025 04:38:49 GMT
* Dependencies: [@types/markdown-it](https://npmjs.com/package/@types/markdown-it)
# Credits
These definitions were written by [Vyacheslav Demot](https://github.com/hronex).