MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / unwrapMarkdownSourceBlocks

Function unwrapMarkdownSourceBlocks

src/runtime/adapters/markdown.ts:9–13  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

7const PLACEHOLDER_END = "\uE001";
8
9function unwrapMarkdownSourceBlocks(text: string): string {
10 return text.replace(MARKDOWN_SOURCE_BLOCK_RE, (_, content: string) =>
11 content.trim(),
12 );
13}
14
15function escapeHtml(text: string): string {
16 return text

Callers 2

formatSlackMessageFunction · 0.85
formatTelegramMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected