Skip to main content
Module

x/charmd/mod.ts

A simple, extendable markdown renderer for your terminal.
Latest
import * as charmd from "https://deno.land/x/charmd@v0.1.2/mod.ts";

Functions

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

Returns a string for the provided markdown, which printed in a terminal results in a formatted markdown text

UNSTABLE

The transfromer function is used to recuresively visit each node and make modifications to the AST for later steps

Interfaces

Options for the processing and rendering of the markdown