UNPKG

very-small-parser

Version:

A very small Markdown, HTML, and CSS parser.

8 lines (7 loc) 313 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toHtml = void 0; const toHast_1 = require("./toHast"); const toText_1 = require("../toText"); const toHtml = (node, tab = '', ident = '') => (0, toText_1.toText)((0, toHast_1.toHast)(node), tab, ident); exports.toHtml = toHtml;