@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
11 lines (10 loc) • 443 B
TypeScript
import type { string_html, string_markdown } from '../../types/string_markdown';
/**
* Removes Markdown (or HTML) comments
*
* @param {string} content - The string to remove comments from.
* @returns {string} The input string with all comments removed.
*
* @public exported from `@promptbook/markdown-utils`
*/
export declare function removeMarkdownComments<TContent extends string_html | string_markdown>(content: TContent): TContent;