MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / formatInlineContentBlock

Function formatInlineContentBlock

frontend/app/element/markdown-util.ts:19–21  ·  view source on GitHub ↗
(block: MarkdownContentBlockType)

Source from the content-addressed store, hash-verified

17const idMatchRe = /^("(?:[^"\\]|\\.)*")/;
18
19function formatInlineContentBlock(block: MarkdownContentBlockType): string {
20 return `!!!${block.type}[${block.id}]!!!`;
21}
22
23function parseOptions(str: string): Record<string, any> {
24 const trimmed = str.trim();

Callers 1

transformBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected