UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

11 lines 715 B
import { Converter } from "../../../domain/content"; import { Markdown, DocumentContext, RenderContext, Result as MarkdownResult, ParsedContentResult, ContentResult, ParseAndRenderOptions, RenderableDocument } from "../../../domain/markdown"; export declare class MDConverter implements Converter { private md; constructor(markdown: Markdown); convert(dctx: DocumentContext, rctx: RenderContext): Promise<MarkdownResult>; parseContent(source: Uint8Array): Promise<ParsedContentResult>; parseAndRenderContent(source: Uint8Array, options?: ParseAndRenderOptions): Promise<ContentResult>; prepareRender(source: Uint8Array): Promise<RenderableDocument>; } //# sourceMappingURL=converter.d.ts.map