wrap Code
fun wrapCode(code: MutableList<String>): MutableList<MutableList<String>>
Content copied to clipboard
Wrap code lines to prevent overly long lines during rendering.
Return
2D list of strings with each inner list corresponding to one original broken up line. Flattened output corresponds to original unwrapped code.
Parameters
code
The code being formatted as an array of lines.