Skip to main content
Module

x/lume/plugins/mdx.ts>MDXEngine

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class MDXEngine
implements Engine<string | { toString(): string; }>
import { MDXEngine } from "https://deno.land/x/lume@v2.1.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)