Skip to main content
Module

x/charmd/generator.ts>generator

A simple, extendable markdown renderer for your terminal.
Go to Latest
function generator
import { generator } from "https://deno.land/x/charmd@v0.0.1/generator.ts";

The generator function is used to recuresively visit each node and generate the string representation of the node and its children

Parameters

node: Node
parent: Node
options: Options

Returns

string | undefined