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

x/lume/plugins/markdown.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/markdown.ts";

Template engine to render Markdown files

Constructors

new
MarkdownEngine(engine: MarkdownItEngine)

Properties

engine: MarkdownItEngine

Methods

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