UNPKG

@types/markdown-it-container

Version:
34 lines (25 loc) 1.18 kB
# 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).