UNPKG

html-to-md

Version:

A JS library for convert HTML<String> to markdown<String>, gzip 10kb

13 lines (12 loc) 556 B
import Tag from '../Tag'; import { ParseOptions, TagOptions } from '../type'; declare class Blockquote extends Tag { constructor(str: string, tagName: string | undefined, options: TagOptions); beforeMergeSpace(content: string): string; afterMergeSpace(content: string): string; beforeReturn(content: string): string; fillPerLine(lineStr: string): string; parseValidSubTag(subTagStr: string, subTagName: string, options: ParseOptions): [string, any]; exec(prevGap?: string, endGap?: string): string; } export default Blockquote;