MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / wrap

Method wrap

src/cortex/formatter.ts:460–465  ·  view source on GitHub ↗

Packs its constituent layouts horizontally, inserting line breaks * between them so as to minimize the total cost of output, in a manner * analogous to the composition of words in paragraph. * * Output after line breaks begins at the starting column of the entire * block. *

(...inBlocks: (string | FormattingBlock)[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

fencedListMethod · 0.95
serializeCortexFunction · 0.95

Calls 1

normalizedBlocksMethod · 0.95

Tested by

no test coverage detected