MCPcopy Create free account
hub / github.com/Make-md/makemd / frameEmbedStringFromContext

Function frameEmbedStringFromContext

src/core/utils/frames/frames.ts:12–14  ·  view source on GitHub ↗
(space: SpaceInfo, schema: string)

Source from the content-addressed store, hash-verified

10
11
12export const frameEmbedStringFromContext = (space: SpaceInfo, schema: string) => {
13 return `![![${space.path}#*${schema}]]`
14}
15
16export const propFieldFromString = (str: string, schemaProps: SpaceProperty[]) => {
17 return schemaProps.find((f) => str == `${f.schemaId}.props.${f.name}`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected