UNPKG

very-small-parser

Version:

A very small Markdown, HTML, and CSS parser.

4 lines (3 loc) 159 B
import { toHast } from './toHast'; import { toText } from '../toText'; export const toHtml = (node, tab = '', ident = '') => toText(toHast(node), tab, ident);