UNPKG

@diplodoc/transform

Version:

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

9 lines (8 loc) 375 B
import type { MarkdownItPluginOpts } from '../typings'; import type { 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;