html-to-md
Version:
A JS library for convert HTML<String> to markdown<String>, gzip 10kb
9 lines (8 loc) • 358 B
TypeScript
import { ParseOptions, TagOptions } from '../type';
import Th from './th';
declare class Td extends Th {
constructor(str: string, tagName: string | undefined, options: TagOptions);
parseValidSubTag(subTagStr: string, subTagName: string, options: ParseOptions): [string, any];
exec(prevGap?: string, endGap?: string): string;
}
export default Td;