@sohailalam2/markdown-extractor
Version:
Your one solution to extract markdown metadata and content
20 lines (19 loc) • 617 B
TypeScript
import { MarkdownDomSelector } from './markdown-dom-selector';
export interface CheerioOptionsInterface {
xmlMode?: boolean;
decodeEntities?: boolean;
lowerCaseTags?: boolean;
lowerCaseAttributeNames?: boolean;
recognizeCDATA?: boolean;
recognizeSelfClosing?: boolean;
normalizeWhitespace?: boolean;
withStartIndices?: boolean;
withEndIndices?: boolean;
ignoreWhitespace?: boolean;
_useHtmlParser2?: boolean;
}
export interface MarkdownExtractorOptions {
selectors: MarkdownDomSelector[];
metadataDelimiter?: string;
cheerioOptions?: CheerioOptionsInterface;
}