MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getThumbnailMarkdown

Function getThumbnailMarkdown

site/thumbnail.ts:93–99  ·  view source on GitHub ↗
(
  node: Node,
)

Source from the content-addressed store, hash-verified

91};
92
93export const getThumbnailMarkdown = (
94 node: Node,
95): {thumbnail?: Thumbnail; summary: string; body: string} => ({
96 thumbnail: node.data[THUMBNAIL] as Thumbnail | undefined,
97 summary: node.summary ?? '',
98 body: node.body ?? '',
99});
100
101export const getSummaryMarkdown = (node: Node): string => {
102 return (node.summary ?? '') || getLeadParagraph(node.body ?? '');

Callers 3

DemoNodeSectionFunction · 0.90
SiteReflectionSummaryFunction · 0.90
SiteNodeSectionBlockFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…