@diplodoc/transform
Version:
A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML
12 lines (11 loc) • 384 B
TypeScript
import type { MarkdownItPluginCb } from '../typings';
interface Options {
extractTitle?: boolean;
supportGithubAnchors?: boolean;
disableCommonAnchors?: boolean;
useCommonAnchorButtons?: boolean;
transformLink: (v: string) => string;
getPublicPath?: (options: Options, v?: string) => string;
}
declare const index: MarkdownItPluginCb<Options>;
export = index;