UNPKG

@diplodoc/transform

Version:

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

7 lines (6 loc) 343 B
import type { Token } from 'markdown-it'; export declare const CUSTOM_ID_REGEXP: RegExp; export declare const CUSTOM_ID_EXCEPTION = "[{#T}]"; export declare const getCustomIds: (content: string) => string[] | null; export declare const removeCustomId: (content: string) => string; export declare const removeCustomIds: (token: Token) => void;