UNPKG

@diplodoc/transform

Version:

A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML

17 lines (16 loc) 553 B
import { MarkdownIt } from '../../typings'; import { MarkdownItPluginOpts } from '../typings'; export interface MarkdownItIncluded extends MarkdownIt { included?: { [key: string]: string; }; } export declare type IncludeCollectOpts = MarkdownItPluginOpts & { destPath: string; copyFile(path: string, dest: string, opts: IncludeCollectOpts): string | null | undefined; singlePage: Boolean; included: Boolean; includedParentPath?: string[]; additionalIncludedList?: string[]; appendix?: Map<string, string>; };