UNPKG

typedoc-plugin-markdown

Version:

A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.

10 lines (9 loc) 298 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stripLineBreaks = void 0; function stripLineBreaks(str) { return str ? str.replace(/\n/g, ' ').replace(/\r/g, ' ').replace(/\t/g, ' ').trim() : ''; } exports.stripLineBreaks = stripLineBreaks;