UNPKG

markdown-builder

Version:

The next-gen markdown builder for node

11 lines (7 loc) 233 B
/** * Utility functions & helpers * @flow */ const withPrefix = (prefix: string, text: string) => prefix + ' ' + text; const surround = (prefix: string, text: string) => prefix + text + prefix; export { withPrefix, surround };