@tdb/web
Version:
Common condiguration for serving a web-site and testing web-based UI components.
6 lines (5 loc) • 406 B
TypeScript
import { IMarkdown, IParseResponse, IManifestMarkdown } from './types';
export declare type IMarkdownResponse = IParseResponse<IMarkdown>;
export declare function toManifestMarkdown(path: string, body?: string): Promise<IManifestMarkdown>;
export declare function parseMarkdownFile(path: string): Promise<IMarkdownResponse>;
export declare function parseMarkdown(text: string): Promise<IMarkdownResponse>;