MCPcopy
hub / github.com/markdoc/markdoc / formatAnnotations

Function formatAnnotations

src/formatter.ts:97–103  ·  view source on GitHub ↗
(n: Node)

Source from the content-addressed store, hash-verified

95}
96
97function* formatAnnotations(n: Node) {
98 if (n.annotations.length) {
99 yield OPEN + SPACE;
100 yield n.annotations.map(formatAnnotationValue).join(SPACE);
101 yield SPACE + CLOSE;
102 }
103}
104
105function* formatVariable(v: Variable) {
106 yield '$';

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…