@diplodoc/transform
Version:
A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML
5 lines (4 loc) • 349 B
TypeScript
import type StateBlock from 'markdown-it/lib/rules_block/state_block';
import type { MarkdownIt } from '../../typings';
import type { MarkdownItPluginOpts } from '../typings';
export declare function termDefinitions(md: MarkdownIt, options: MarkdownItPluginOpts): (state: StateBlock, startLine: number, endLine: number, silent: boolean) => boolean;