MCPcopy Index your code
hub / github.com/markdoc/markdoc / formatInline

Function formatInline

src/formatter.ts:35–37  ·  view source on GitHub ↗
(g: Generator<string>)

Source from the content-addressed store, hash-verified

33}
34
35function* formatInline(g: Generator<string>) {
36 yield [...g].join('').trim();
37}
38
39function* formatTableRow(items: Array<string>) {
40 yield `| ${items.join(' | ')} |`;

Callers 1

formatNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…