Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.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)