MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / makeMarkdownWaveBlockKey

Function makeMarkdownWaveBlockKey

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

Source from the content-addressed store, hash-verified

37}
38
39function makeMarkdownWaveBlockKey(block: MarkdownContentBlockType): string {
40 return `${block.type}[${block.id}]`;
41}
42
43export function transformBlocks(content: string): { content: string; blocks: Map<string, MarkdownContentBlockType> } {
44 const lines = content.split("\n");

Callers 1

transformBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected