MCPcopy Index your code
hub / github.com/lingodotdev/lingo.dev / formatYamlValue

Function formatYamlValue

scripts/docs/src/generate-cli-docs.ts:60–63  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

58}
59
60function formatYamlValue(value: string): string {
61 const escaped = value.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
62 return `"${escaped}"`;
63}
64
65function createHeading(
66 depth: number,

Callers 2

buildCommandDocFunction · 0.85
buildIndexDocFunction · 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…