create Snippet
Create readable YAML snippet of codepoints, with a caret ^
pointing at pointer.
Only a single line will be rendered. Content before or after a linebreak will not be shown.
Lines longer than maxLength will be truncated, using SNIPPET_OVERFLOW to indicate truncation.
Return
readable Piece of YAML that highlights a .
Parameters
indent Size
The number of spaces to indent the snippet.
max Length
Limit the result to this many characters.