Module

x/lume/plugins/remark.ts>MarkdownEngine

🔥 Static site generator for Deno 🦕
Very Popular
Latest
class MarkdownEngine
implements Engine
import { MarkdownEngine } from "https://dotland.deno.dev/x/lume@v2.4.2/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