Skip to content

marknativeMarkdown → PNG / SVG

Native rendering engine. No browser. No Chromium. No DOM. Deterministic, headless, fast.

marknative

Quick Start

bash
npm install marknative
ts
import { renderMarkdown } from 'marknative'
import { writeFileSync } from 'node:fs'

const pages = await renderMarkdown(`
# Hello, marknative

Produces **paginated PNG pages** without a browser.
`)

for (const [i, page] of pages.entries()) {
  writeFileSync(`page-${i + 1}.png`, page.data)
}

Released under the MIT License.