formatters/html

Module: formatters/html

A module that exposes a single function for formatting an array of CanvasNative line objects as HTML

(require("formatters/html"))(nativeLines) → {string}

Format an array of CanvasNative lines as HTML.

Parameters
Name Type Description
nativeLines Array.<Type>

The CanvasNative lines

Returns

The HTML text

Type
string