@types/markdown-it-container
Version:
TypeScript definitions for markdown-it-container
33 lines (24 loc) • 1.14 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");
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
* 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 [Vyacheslav Demot](https://github.com/hronex).