Skip to content

Added width and whitespaceBreak options

Compare
Choose a tag to compare
@patorjk patorjk released this 12 Jul 23:38

2 new options have been added to the options object:

  • width: Allows you to limit the output text to a specified number of characters (ex: 80).
  • whitespaceBreak: Works in conjunction with width. If set to true, the text will attempt to break whitespaces.

Thanks goes to @jcubic for working on this and submitting the PR.