UNPKG

@xylogeist/twig

Version:

A lightweight TypeScript renderer that converts structured block-based content(from an editor) into HTML.

3 lines (2 loc) 106 B
import type { Block } from "./types"; export declare const renderTwigToHtml: (blocks: Block[]) => string;