UNPKG

@diplodoc/transform

Version:

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

9 lines (8 loc) 365 B
import { MarkdownItPluginOpts } from '../typings'; import { ChangelogItem } from './types'; declare type Options = Pick<MarkdownItPluginOpts, 'path' | 'log'> & { changelogs?: ChangelogItem[]; extractChangelogs?: boolean; }; declare const collect: (input: string, { path: filepath, log, changelogs, extractChangelogs }: Options) => string; export = collect;