createSnippet

fun createSnippet(indent: Int = 4, maxLength: Int = 75): String

Create readable YAML with indent 4 and (by default) a maxLength of 75 characters.

Return

readable piece of YAML where a problem detected

Parameters

indent
  • the indent

maxLength
  • cut data after this length