Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/lume@v2.4.1/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)