Module

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