Module

x/lume/plugins/mdx.ts>MDXEngine

🔥 Static site generator for Deno 🦕
Very Popular
Latest
class MDXEngine
implements Engine<string | { toString(): string; }>
import { MDXEngine } from "https://dotland.deno.dev/x/lume@v2.4.2/plugins/mdx.ts";

Template engine to render Markdown files with Remark

Constructors

new
MDXEngine(
baseUrl: string,
options: Required<Options>,
jsxEngine: Engine,
)

Properties

baseUrl: string
includes: string
jsxEngine: Engine
options: Required<Options>

Methods

render(
content: string,
data?: Record<string, unknown>,
filename?: string,
)
renderComponent(content: string)