MCPcopy
hub / github.com/markdoc/markdoc / increment

Function increment

src/formatter.ts:24–27  ·  view source on GitHub ↗
(o: Options, n = 2)

Source from the content-addressed store, hash-verified

22
23const max = (a: number, b: number) => Math.max(a, b);
24const increment = (o: Options, n = 2) => ({
25 ...o,
26 indent: (o.indent || 0) + n,
27});
28
29function* formatChildren(a: Node, options: Options) {
30 for (const child of a.children) {

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…