Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/plugins/remark.ts>MarkdownEngine

🔥 Static site generator for Deno 🦕
Very Popular
Latest
class MarkdownEngine
implements Engine
import { MarkdownEngine } from "https://deno.land/x/lume@v2.4.1/plugins/remark.ts";

Template engine to render Markdown files with Remark

Constructors

new
MarkdownEngine(engine: unified.Processor)

Properties

engine: unified.Processor

Methods

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