UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

11 lines (10 loc) 205 B
export function pre(val) { if (!val) { return '-'; } return `\`${val}\``; } export function thead(cols) { return `|#|${cols.join('|')}| |---|${cols.map(() => '---').join('|')}|`; }