JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14280
  • Score
    100M100P100Q138746F
  • License MIT

TypeScript definitions for markdown-it-container

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/markdown-it-container) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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

    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.