@diplodoc/transform
Version:
A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML
12 lines (11 loc) • 376 B
TypeScript
import type { MarkdownItPluginCb, MarkdownItPluginOpts } from '../typings';
interface ImageOpts extends MarkdownItPluginOpts {
assetsPublicPath: string;
inlineSvg?: boolean;
}
interface SVGOpts extends MarkdownItPluginOpts {
notFoundCb: (s: string) => void;
}
declare type Opts = SVGOpts & ImageOpts;
declare const index: MarkdownItPluginCb<Opts>;
export = index;