vyaz-monorepo / core/src/debug / linesToYAML
Function: linesToYAML()
linesToYAML(
lines,paragraphWidth,paragraphHeight):string
Defined in: core/src/debug/lines-to-yaml.ts:24
Convert Line[] to YAML string for snapshots. Only semantic data: text, x, width, style. No glyphAdvances, fontMetrics (noise), inlineWidget.
Parameters
lines
Line[]
paragraphWidth
number
paragraphHeight
number
Returns
string
