UNPKG

@mdfriday/foundry

Version:

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

22 lines 634 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MDConverter = void 0; class MDConverter { constructor(markdown) { this.md = markdown; } async convert(dctx, rctx) { return this.md.render(rctx, dctx); } async parseContent(source) { return this.md.parseContent(source); } async parseAndRenderContent(source, options) { return this.md.parseAndRenderContent(source, options); } async prepareRender(source) { return this.md.prepareRender(source); } } exports.MDConverter = MDConverter; //# sourceMappingURL=converter.js.map